Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-13 Thread Joost Roeleveld
On Friday, November 11, 2011 08:48:42 AM Dale wrote:
 J. Roeleveld wrote:
  On Tue, November 8, 2011 10:33 am, Dale wrote:
  The only report that raccoon will give is a bright flash of light.
  Shorting out 250,000 volts sort of puts a period on the end of the
  briefest report there has ever been.  Those lines are the TVA lines
  that
  come from a few hundred miles away.  There is no telling how much
  power
  comes through those lines either.  Heck, even one amp is a lot.
  
  That raccoon better get a new plan.  The current one is shockingly the
  wrong way to do it.  lol   Plus I hate when the lights go out.  Winter
  is about here and we have electric heat.  :/
  
  Nah, no new plan needed. The raccoon that physically caused the problem
  was a convicted criminal. (For refusing to cause havoc) and was
  sentenced
  to death by electrocution.
  The specific location was picked by the actual scientist running the
  experiments.
  
  --
  Joost
 
 Now that you mention it, maybe they will run out of test subjects.  o_O

They're currently in the middle of negotiations to take over the penal system 
of the rabbits ;)

Once they get that contract, they'll have a really steady supply.

--
Joost



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-13 Thread Dale

Joost Roeleveld wrote:

On Friday, November 11, 2011 08:48:42 AM Dale wrote:


Now that you mention it, maybe they will run out of test subjects.  o_O

They're currently in the middle of negotiations to take over the penal system
of the rabbits ;)

Once they get that contract, they'll have a really steady supply.

--
Joost





Oh no, not rabbits.  We may never have power again.  :/

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-11 Thread J. Roeleveld
On Tue, November 8, 2011 10:33 am, Dale wrote:
 J. Roeleveld wrote:
 On Mon, November 7, 2011 1:32 pm, Dale wrote:
 All this from a raccoon knocking out power.  Pesky critter.
 Raccoons are doing some behaviour studies in your area, didn't you get
 the
 memo? :)

 --
 Joost


 The only report that raccoon will give is a bright flash of light.
 Shorting out 250,000 volts sort of puts a period on the end of the
 briefest report there has ever been.  Those lines are the TVA lines that
 come from a few hundred miles away.  There is no telling how much power
 comes through those lines either.  Heck, even one amp is a lot.

 That raccoon better get a new plan.  The current one is shockingly the
 wrong way to do it.  lol   Plus I hate when the lights go out.  Winter
 is about here and we have electric heat.  :/

Nah, no new plan needed. The raccoon that physically caused the problem
was a convicted criminal. (For refusing to cause havoc) and was sentenced
to death by electrocution.
The specific location was picked by the actual scientist running the
experiments.

--
Joost




Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-11 Thread Dale

J. Roeleveld wrote:

On Tue, November 8, 2011 10:33 am, Dale wrote:


The only report that raccoon will give is a bright flash of light.
Shorting out 250,000 volts sort of puts a period on the end of the
briefest report there has ever been.  Those lines are the TVA lines that
come from a few hundred miles away.  There is no telling how much power
comes through those lines either.  Heck, even one amp is a lot.

That raccoon better get a new plan.  The current one is shockingly the
wrong way to do it.  lol   Plus I hate when the lights go out.  Winter
is about here and we have electric heat.  :/

Nah, no new plan needed. The raccoon that physically caused the problem
was a convicted criminal. (For refusing to cause havoc) and was sentenced
to death by electrocution.
The specific location was picked by the actual scientist running the
experiments.

--
Joost





Now that you mention it, maybe they will run out of test subjects.  o_O

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-10 Thread Neil Bothwick
On Wed, 09 Nov 2011 21:18:05 -0500, Mike Edenfield wrote:

  There is, but the file is called .version. The contents of this are
  appended to the kernel name when you have the relevant options set.
  There is no manual intervention needed.

 But I still need to create .version every time I compile a 
 new set of kernel sources for the first time, right? That's 
 what I'm doing now (localversion2 is a symlink to .version)

Not AFAIR. I can't see anything in my build scripts that either creates
or updates this file, it is created and updated automatically after each
make.


-- 
Neil Bothwick

Capt'n! The spellchecker kinna take this abuse!


signature.asc
Description: PGP signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-09 Thread Mike Edenfield

On 11/9/2011 2:04 AM, Mick wrote:

On Wednesday 09 Nov 2011 02:43:43 Mike Edenfield wrote:

On 11/6/2011 8:54 PM, Dale wrote:

Mine is like this:

-rw-r--r-- 1 root root 4547936 Aug 22 03:53
/boot/bzImage-3.0.3-1
-rw-r--r-- 1 root root 4548640 Sep  1 07:19
/boot/bzImage-3.0.4-1
-rw-r--r-- 1 root root 5162752 Oct 12 21:49
/boot/bzImage-3.0.4-2
-rw-r--r-- 1 root root 5167840 Oct 13 00:05
/boot/bzImage-3.0.6-1
-rw-r--r-- 1 root root 5167776 Oct 19 02:14
/boot/bzImage-3.0.7-1


The last number is how many times it took to get a stable
one.  Sometimes it is one, sometimes two.  I would also like
to see how make install does it nowadays.  Maybe worth
another try.

Oh, I name the config files the same as the kernel too.  Am
I OCD?  o_O


Nope, that's also how `make install` does it:

basement boot # ls -l
total 7060
lrwxrwxrwx. 1 root root  41 Aug 18 15:35 System.map -
System.map-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 1484083 Aug 18 15:26
System.map-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 1484083 Aug 18 15:35
System.map-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  41 Aug 18 15:26 System.map.old
-  System.map-2.6.39-hardened-r10-basement-0
lrwxrwxrwx. 1 root root   1 Oct  3  2009 boot -  .
lrwxrwxrwx. 1 root root  37 Aug 18 15:35 config -
config-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root   51983 Aug 18 15:26
config-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root   51983 Aug 18 15:35
config-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  37 Aug 18 15:26 config.old -
config-2.6.39-hardened-r10-basement-0
drwxr-xr-x. 2 root root4096 Aug 18 15:37 grub
drwx--. 2 root root   16384 Oct  3  2009 lost+found
lrwxrwxrwx. 1 root root  38 Aug 18 15:35 vmlinuz -
vmlinuz-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 2027168 Aug 18 15:26
vmlinuz-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 2026816 Aug 18 15:35
vmlinuz-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  38 Aug 18 15:26 vmlinuz.old -
vmlinuz-2.6.39-hardened-r10-basement-0

Note that, to get the name/number scheme, I also have:

basement linux # cd /usr/src/linux
basement linux # cat localversion1
-basement-
basement linux # cat localversion2
2
basement linux # ls -l localversion*
-rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 -
.version


Are you saying then that every time you download new source files you have to
create or cp new localversion* files in /usr/src/linux/ for this auto-numbering
to work?


Yeah, though I wouldn't be surprised if there was already a 
way to automate this that I just haven't bothered to learn. 
For now I just create them again each time I change my 
/usr/src/linux symlink:


basement ~ # cd /usr/src/linux
basement linux # cp ~/localversion* .
basement linux # ln -sf localversion2 .version

--Mike



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-09 Thread Neil Bothwick
On Wed, 09 Nov 2011 08:47:07 -0500, Mike Edenfield wrote:

  Are you saying then that every time you download new source files you
  have to create or cp new localversion* files in /usr/src/linux/ for
  this auto-numbering to work?  
 
 Yeah, though I wouldn't be surprised if there was already a 
 way to automate this that I just haven't bothered to learn. 

There is, but the file is called .version. The contents of this are
appended to the kernel name when you have the relevant options set. There
is no manual intervention needed.


-- 
Neil Bothwick

If the cops arrest a mime, do they tell her she has the right to remain
silent?


signature.asc
Description: PGP signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-09 Thread Mike Edenfield

On 11/9/2011 8:55 AM, Neil Bothwick wrote:

On Wed, 09 Nov 2011 08:47:07 -0500, Mike Edenfield wrote:


Are you saying then that every time you download new source files you
have to create or cp new localversion* files in /usr/src/linux/ for
this auto-numbering to work?


Yeah, though I wouldn't be surprised if there was already a
way to automate this that I just haven't bothered to learn.


There is, but the file is called .version. The contents of this are
appended to the kernel name when you have the relevant options set. There
is no manual intervention needed.


But I still need to create .version every time I compile a 
new set of kernel sources for the first time, right? That's 
what I'm doing now (localversion2 is a symlink to .version)


--Mike



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread J. Roeleveld
On Mon, November 7, 2011 1:32 pm, Dale wrote:
SNIP

 I looked for such a option but I can't find it anywhere.  It may be
 there but I can't find it.  Since it is working and the AHCI controller
 sees the drives, I'm going to leave well enough alone.

I checked my desktop at home last night and the disks are only shown for
AHCI. The BIOS doesn't see anything. (All connected to SATA)

 I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It
 displayed all the drive partitions and other info just like it should.
 I guess there was something off with cfdisk on the stick.

Probably :)

 All this from a raccoon knocking out power.  Pesky critter.

Raccoons are doing some behaviour studies in your area, didn't you get the
memo? :)

--
Joost




Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Dale

J. Roeleveld wrote:

On Mon, November 7, 2011 1:32 pm, Dale wrote:
SNIP


I looked for such a option but I can't find it anywhere.  It may be
there but I can't find it.  Since it is working and the AHCI controller
sees the drives, I'm going to leave well enough alone.

I checked my desktop at home last night and the disks are only shown for
AHCI. The BIOS doesn't see anything. (All connected to SATA)


Then I guess it is working as it should.  Whew !




I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It
displayed all the drive partitions and other info just like it should.
I guess there was something off with cfdisk on the stick.

Probably :)


All this from a raccoon knocking out power.  Pesky critter.

Raccoons are doing some behaviour studies in your area, didn't you get the
memo? :)

--
Joost



The only report that raccoon will give is a bright flash of light.  
Shorting out 250,000 volts sort of puts a period on the end of the 
briefest report there has ever been.  Those lines are the TVA lines that 
come from a few hundred miles away.  There is no telling how much power 
comes through those lines either.  Heck, even one amp is a lot.


That raccoon better get a new plan.  The current one is shockingly the 
wrong way to do it.  lol   Plus I hate when the lights go out.  Winter 
is about here and we have electric heat.  :/


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Mike Edenfield

On 11/6/2011 8:54 PM, Dale wrote:


Mine is like this:

-rw-r--r-- 1 root root 4547936 Aug 22 03:53
/boot/bzImage-3.0.3-1
-rw-r--r-- 1 root root 4548640 Sep  1 07:19
/boot/bzImage-3.0.4-1
-rw-r--r-- 1 root root 5162752 Oct 12 21:49
/boot/bzImage-3.0.4-2
-rw-r--r-- 1 root root 5167840 Oct 13 00:05
/boot/bzImage-3.0.6-1
-rw-r--r-- 1 root root 5167776 Oct 19 02:14
/boot/bzImage-3.0.7-1


The last number is how many times it took to get a stable
one.  Sometimes it is one, sometimes two.  I would also like
to see how make install does it nowadays.  Maybe worth
another try.

Oh, I name the config files the same as the kernel too.  Am
I OCD?  o_O


Nope, that's also how `make install` does it:

basement boot # ls -l
total 7060
lrwxrwxrwx. 1 root root  41 Aug 18 15:35 System.map - 
System.map-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 1484083 Aug 18 15:26 
System.map-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 1484083 Aug 18 15:35 
System.map-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  41 Aug 18 15:26 System.map.old 
- System.map-2.6.39-hardened-r10-basement-0

lrwxrwxrwx. 1 root root   1 Oct  3  2009 boot - .
lrwxrwxrwx. 1 root root  37 Aug 18 15:35 config - 
config-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root   51983 Aug 18 15:26 
config-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root   51983 Aug 18 15:35 
config-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  37 Aug 18 15:26 config.old - 
config-2.6.39-hardened-r10-basement-0

drwxr-xr-x. 2 root root4096 Aug 18 15:37 grub
drwx--. 2 root root   16384 Oct  3  2009 lost+found
lrwxrwxrwx. 1 root root  38 Aug 18 15:35 vmlinuz - 
vmlinuz-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 2027168 Aug 18 15:26 
vmlinuz-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 2026816 Aug 18 15:35 
vmlinuz-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  38 Aug 18 15:26 vmlinuz.old - 
vmlinuz-2.6.39-hardened-r10-basement-0


Note that, to get the name/number scheme, I also have:

basement linux # cd /usr/src/linux
basement linux # cat localversion1
-basement-
basement linux # cat localversion2
2
basement linux # ls -l localversion*
-rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 - 
.version




Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Mick
On Wednesday 09 Nov 2011 02:43:43 Mike Edenfield wrote:
 On 11/6/2011 8:54 PM, Dale wrote:
  Mine is like this:
  
  -rw-r--r-- 1 root root 4547936 Aug 22 03:53
  /boot/bzImage-3.0.3-1
  -rw-r--r-- 1 root root 4548640 Sep  1 07:19
  /boot/bzImage-3.0.4-1
  -rw-r--r-- 1 root root 5162752 Oct 12 21:49
  /boot/bzImage-3.0.4-2
  -rw-r--r-- 1 root root 5167840 Oct 13 00:05
  /boot/bzImage-3.0.6-1
  -rw-r--r-- 1 root root 5167776 Oct 19 02:14
  /boot/bzImage-3.0.7-1
  
  
  The last number is how many times it took to get a stable
  one.  Sometimes it is one, sometimes two.  I would also like
  to see how make install does it nowadays.  Maybe worth
  another try.
  
  Oh, I name the config files the same as the kernel too.  Am
  I OCD?  o_O
 
 Nope, that's also how `make install` does it:
 
 basement boot # ls -l
 total 7060
 lrwxrwxrwx. 1 root root  41 Aug 18 15:35 System.map -
 System.map-2.6.39-hardened-r10-basement-1
 -rw-r--r--. 1 root root 1484083 Aug 18 15:26
 System.map-2.6.39-hardened-r10-basement-0
 -rw-r--r--. 1 root root 1484083 Aug 18 15:35
 System.map-2.6.39-hardened-r10-basement-1
 lrwxrwxrwx. 1 root root  41 Aug 18 15:26 System.map.old
 - System.map-2.6.39-hardened-r10-basement-0
 lrwxrwxrwx. 1 root root   1 Oct  3  2009 boot - .
 lrwxrwxrwx. 1 root root  37 Aug 18 15:35 config -
 config-2.6.39-hardened-r10-basement-1
 -rw-r--r--. 1 root root   51983 Aug 18 15:26
 config-2.6.39-hardened-r10-basement-0
 -rw-r--r--. 1 root root   51983 Aug 18 15:35
 config-2.6.39-hardened-r10-basement-1
 lrwxrwxrwx. 1 root root  37 Aug 18 15:26 config.old -
 config-2.6.39-hardened-r10-basement-0
 drwxr-xr-x. 2 root root4096 Aug 18 15:37 grub
 drwx--. 2 root root   16384 Oct  3  2009 lost+found
 lrwxrwxrwx. 1 root root  38 Aug 18 15:35 vmlinuz -
 vmlinuz-2.6.39-hardened-r10-basement-1
 -rw-r--r--. 1 root root 2027168 Aug 18 15:26
 vmlinuz-2.6.39-hardened-r10-basement-0
 -rw-r--r--. 1 root root 2026816 Aug 18 15:35
 vmlinuz-2.6.39-hardened-r10-basement-1
 lrwxrwxrwx. 1 root root  38 Aug 18 15:26 vmlinuz.old -
 vmlinuz-2.6.39-hardened-r10-basement-0
 
 Note that, to get the name/number scheme, I also have:
 
 basement linux # cd /usr/src/linux
 basement linux # cat localversion1
 -basement-
 basement linux # cat localversion2
 2
 basement linux # ls -l localversion*
 -rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
 lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 -
 .version

Are you saying then that every time you download new source files you have to 
create or cp new localversion* files in /usr/src/linux/ for this auto-numbering 
to work? 
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-07 Thread Neil Bothwick
On Mon, 7 Nov 2011 12:00:39 +1100, Adam Carter wrote:

  All it does it copy the kernel, system map and config to /boot and
  reset the symlinks to point to the new and previous kernels. You can
  still keep as many kernels as you want in /boot, but you can always
  boot the last two without modifying GRUB's config.
 
 Can you please ls -l /boot so i can see what it sets up? I'm still
 doing all that manually...
 

% ls -lh /boot
total 373M
lrwxrwxrwx 1 root root 1 Jul 22  2008 boot - .
lrwxrwxrwx 1 root root22 Nov  3 20:00 config - config-3.1.0-gentoo-11
-rw-r--r-- 1 root root   78K Oct 19 09:30 config-3.0.7-gentoo
-rw-r--r-- 1 root root   79K Nov  2 16:47 config-3.1.0-gentoo-10
-rw-r--r-- 1 root root   79K Nov  3 19:58 config-3.1.0-gentoo-11
lrwxrwxrwx 1 root root22 Nov  3 20:00 config.old - config-3.1.0-gentoo-10
drwxr-xr-x 3 root root  4.0K Nov  6 21:23 grub2
lrwxrwxrwx 1 root root26 Nov  3 20:00 System.map - 
System.map-3.1.0-gentoo-11
-rw-r--r-- 1 root root  1.6M Oct 19 09:30 System.map-3.0.7-gentoo
-rw-r--r-- 1 root root  1.6M Nov  2 16:47 System.map-3.1.0-gentoo-10
-rw-r--r-- 1 root root  1.6M Nov  3 19:58 System.map-3.1.0-gentoo-11
lrwxrwxrwx 1 root root26 Nov  3 20:00 System.map.old - 
System.map-3.1.0-gentoo-10
lrwxrwxrwx 1 root root23 Oct 19 21:58 System.map.safe - 
System.map-3.0.7-gentoo
-rw-r--r-- 1 nelz users 350M Nov  3 00:17 systemrescuecd-x86-2.4.0.iso
lrwxrwxrwx 1 root root23 Nov  3 20:00 vmlinuz - vmlinuz-3.1.0-gentoo-11
-rw-r--r-- 1 root root  2.8M Oct 19 09:30 vmlinuz-3.0.7-gentoo
-rw-r--r-- 1 root root  2.9M Nov  2 16:47 vmlinuz-3.1.0-gentoo-10
-rw-r--r-- 1 root root  2.9M Nov  3 19:58 vmlinuz-3.1.0-gentoo-11
lrwxrwxrwx 1 root root23 Nov  3 20:00 vmlinuz.old - vmlinuz-3.1.0-gentoo-10

I think you need debianutils installed to create the symlinks. Grub
doesn't need to be touched because the menu points to the symlinks rather
than specific kernels although I'm using Grub2 on this box, so specific
versions are added to the end of the menu by grub2-mkconfig.


-- 
Neil Bothwick

I distinctly remember forgetting that.


signature.asc
Description: PGP signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-07 Thread Dale

Mark Knecht wrote:

On Sun, Nov 6, 2011 at 7:06 AM, Dalerdalek1...@gmail.com  wrote:
SNIP

IF by the 'first screen' you mean what you see when booting up then it
may or may not be a problem. I suspect your BIOS settings got
scrambled a bit. With my Asus MB there is an option to tell it to show
the drives on the first screen or not. If BIOS gets set back to
default then I don't see them. I then go in, set the option, and then
I do see them.

SNIP


By first screen, I mean the first screen that the BIOS pops up when booting.
  You know, shows CPU, memory, drives and tells you to hit DEL to enter the
BIOS config.  The second screen is the one that pops up right after the
BIOS.  It is actually the SATA AHCI controller according to what it says.
  It only shows up when AHCI is enabled I think.  Grub comes up after that.

On my machine your first screen is configurable. It doesn't show
drives by default but I have a BIOS option which turns it on.

If I fall back to BIOS #2 then I don't see the drives just like you
are reporting. I have fallen back to BIOS #2 a couple of times on
power failure. One problem on 'power supply on the bottom' chassis is
it puts the power cable right near my feet and I've kicked the cable
out of the box twice in the last 18 months. My UPS won't protect me
from such stupidity! ;-)

Good luck getting to the root cause.

Cheers,
Mark




I looked for such a option but I can't find it anywhere.  It may be 
there but I can't find it.  Since it is working and the AHCI controller 
sees the drives, I'm going to leave well enough alone.


I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It 
displayed all the drive partitions and other info just like it should.  
I guess there was something off with cfdisk on the stick.


All this from a raccoon knocking out power.  Pesky critter.

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Mick
On Sunday 06 Nov 2011 12:43:06 Dale wrote:
 Hi,
 
 This is weird and I'm not sure what info to give yet.  This is the
 events tho. First, a raccoon got on the power substation transformer
 that supplies power for the whole county, excluding my local city which
 has its own transformer.  So, we lost power.  It was sudden just like a
 power switch.  Yea, this happens regular here and it ticks me to no
 end.  It also ticks off the power company because it is always about 2
 or 3 in the morning when the little farts do this.  Second, my system
 switched to the UPS battery which was beeping and woke me up.  I did a
 normal shutdown and cut everything off.  No problems so far.  Patience.
 o_O
 
 When the power came back on, I turned on the UPS which turns on the
 modem, router, monitor and everything computer related back on.  I
 waited a few seconds and turned on my rig.  BIOS comes up which I wasn't
 really looking at, then Grub prompt.  I hit enter and got the file not
 found thing.  Well, this is weird.  So, I hit a key to try a older
 kernel, I keep several older versions around just in case.  Same error.
 Hmmm.  I did a reset and noticed the BIOS is NOT seeing a single drive
 connected, NOT ONE.  What !!  I enter the BIOS and go to the drive
 section and try to get it to detect them, nothing.  Surely three hard
 drives and a DVD burner can't all go out at exactly the same time.
 Well, after scratching my head a bit, I reset the BIOS to defaults,
 which should be about what it is anyway since I don't overclock.  Still
 same grub error.
 
 After a bit, I loaded sysrescue from the USB stick.  I thought maybe
 grub updated and it was having issues so was planning to chroot in and
 fix it.  Here comes a funny part.  When I did a cat /proc/partitions
 from sysrescue, all my drives and partitions were there even tho the
 BIOS didn't see them.  However, cfdisk gave me a error when I tried to
 look at the drives.  Same error on ALL drives.  Now I'm freaking out a
 bit.  :/  Oh, for you folks who use LABELS like me, write down which
 partition is what.  If cfdisk doesn't work, you can't tell what
 partition is what.  ;-)  Anyway, while in there I finally started
 mounting partitions and seeing what files were there until I figured out
 what was what, at least for root and boot.  When I did my ls on /boot,
 the kernels were symlinks to the kernel sources on /usr which is not
 mounted yet.  OK.  Whew!!  That's why grub can't find the kernel since
 it is a symlink to a partition that is not mounted yet.  I did find two
 that were actual files and not links.  Thanks goodness for being a
 packrat.  lol
 
 I reboot and the BIOS shows my drives not as SATA but as IDE.  However,
 I edit the grub kernel line to point to a good kernel and it boots.  I'm
 actually typing in it now.
 
 My questions you ask?  Why is the BIOS not seeing the drives correctly?
 The main BIOS screen sees nothing and it used to print them on the
 screen, including the DVD burner.  They do show up on the second screen
 where AHCI detects drives.  Next question, why could cfdisk not see the
 drives?  Note, I tried all three drives on my system, same error.  I may
 reboot into the sysrescue thing and try it again and write down the error.
 
 I'm going to test on this some more.  I want to figure this out in case
 there is something wrong or I run into this again and can't get cfdisk
 to work.  I'm also going to print my partition layout too.  lol
 
 Oh, from the Gentoo install, cfdisk sees the drives and works
 perfectly.  The only thing I notice is a * way out to the right on the
 last partition.  Like this:
 
 sda9   Logical   ext4   [chroot]   61832.05   *
 
 I'm not sure what the * means tho.  Any ideas?  That is where I do my
 builds for a 32 bit install hence the label.  It is not even mounted all
 the time.
 
 Dale
 
 :-)  :-)
 
 P. S.  I'll post back as I test things.  This is weird.  Like me.  ROFL

Can you set in your BIOS which controller IDE or SATA manages the drives?

I'm not sure why you have a symlink to your /usr/src/linux files from /boot (I 
don't understand it).  In /boot you should have the image files themselves of 
your desired kernels (plus corresponding System and .config files).
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Dale wrote:

Hi,

This is weird and I'm not sure what info to give yet.  This is the 
events tho. First, a raccoon got on the power substation transformer 
that supplies power for the whole county, excluding my local city 
which has its own transformer.  So, we lost power.  It was sudden just 
like a power switch.  Yea, this happens regular here and it ticks me 
to no end.  It also ticks off the power company because it is always 
about 2 or 3 in the morning when the little farts do this.  Second, my 
system switched to the UPS battery which was beeping and woke me up.  
I did a normal shutdown and cut everything off.  No problems so far.  
Patience.  o_O


When the power came back on, I turned on the UPS which turns on the 
modem, router, monitor and everything computer related back on.  I 
waited a few seconds and turned on my rig.  BIOS comes up which I 
wasn't really looking at, then Grub prompt.  I hit enter and got the 
file not found thing.  Well, this is weird.  So, I hit a key to try 
a older kernel, I keep several older versions around just in case.  
Same error.  Hmmm.  I did a reset and noticed the BIOS is NOT seeing a 
single drive connected, NOT ONE.  What !!  I enter the BIOS and go to 
the drive section and try to get it to detect them, nothing.  Surely 
three hard drives and a DVD burner can't all go out at exactly the 
same time.  Well, after scratching my head a bit, I reset the BIOS to 
defaults, which should be about what it is anyway since I don't 
overclock.  Still same grub error.


After a bit, I loaded sysrescue from the USB stick.  I thought maybe 
grub updated and it was having issues so was planning to chroot in and 
fix it.  Here comes a funny part.  When I did a cat /proc/partitions 
from sysrescue, all my drives and partitions were there even tho the 
BIOS didn't see them.  However, cfdisk gave me a error when I tried to 
look at the drives.  Same error on ALL drives.  Now I'm freaking out a 
bit.  :/  Oh, for you folks who use LABELS like me, write down which 
partition is what.  If cfdisk doesn't work, you can't tell what 
partition is what.  ;-)  Anyway, while in there I finally started 
mounting partitions and seeing what files were there until I figured 
out what was what, at least for root and boot.  When I did my ls on 
/boot, the kernels were symlinks to the kernel sources on /usr which 
is not mounted yet.  OK.  Whew!!  That's why grub can't find the 
kernel since it is a symlink to a partition that is not mounted yet.  
I did find two that were actual files and not links.  Thanks goodness 
for being a packrat.  lol


I reboot and the BIOS shows my drives not as SATA but as IDE.  
However, I edit the grub kernel line to point to a good kernel and it 
boots.  I'm actually typing in it now.


My questions you ask?  Why is the BIOS not seeing the drives 
correctly?  The main BIOS screen sees nothing and it used to print 
them on the screen, including the DVD burner.  They do show up on the 
second screen where AHCI detects drives.  Next question, why could 
cfdisk not see the drives?  Note, I tried all three drives on my 
system, same error.  I may reboot into the sysrescue thing and try it 
again and write down the error.


I'm going to test on this some more.  I want to figure this out in 
case there is something wrong or I run into this again and can't get 
cfdisk to work.  I'm also going to print my partition layout too.  lol


Oh, from the Gentoo install, cfdisk sees the drives and works 
perfectly.  The only thing I notice is a * way out to the right on 
the last partition.  Like this:


sda9   Logical   ext4   [chroot]   61832.05   *

I'm not sure what the * means tho.  Any ideas?  That is where I do 
my builds for a 32 bit install hence the label.  It is not even 
mounted all the time.


Dale

:-)  :-)

P. S.  I'll post back as I test things.  This is weird.  Like me.  ROFL



I booted the sysrescue stick and ran cfdisk again.  This is the error:

FATAL ERROR:  Bad primary partition 3:  Partition ends in the final 
partial cylinder

Press any key yada yada.

I ran parted -l, it sees everything fine.  Could it be that cfdisk on 
sysrescue is broken?  If parted didn't see it either then I would think 
something else but . . . .


Going to google now.  Then read up on the manual for my mobo.  o_O  Oh, 
going to figure out this symlink kernel issues too.


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Mick wrote:
Can you set in your BIOS which controller IDE or SATA manages the 
drives? I'm not sure why you have a symlink to your /usr/src/linux 
files from /boot (I don't understand it). In /boot you should have the 
image files themselves of your desired kernels (plus corresponding 
System and .config files). 


I can but it seems to do the same thing either way.  I don't reboot much 
so maybe it is something in my head.  I'm pretty sure it used to list 
the drives on the main BIOS screen then when the controller screen comes 
up it detects them for AHCI.  What gets me is them not being seen while 
I am in the BIOS itself.  I know it used to see them there.  Whenever I 
add a drive or something, I check to make sure it sees everything 
correctly before I even boot my OS.  That way if I have a bad cable or 
forgot to connect something, I can fix it without booting and having to 
shutdown again.  Saves time.


I copy my kernels by hand.  Always have.  It appears that under arch is 
x86 and x86_64 and I copied from x86_64.  Thing is, that is only a 
symlink to x86 so it becomes a link in /boot instead.  Well, when grub 
tries to follow the link, root is not mounted yet and it can't see the 
file.  So, this one was on me.  I got to remember not to copy from the 
x86_64 even tho I have a 64 bit rig.


Still puzzled about cfdisk tho.  I did google and it appears to be quite 
common.  I may make a backup to my spare drive and redo the partitions 
then copy back again.  I used cfdisk to create them so one would think 
it could read them too.


Weird.

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Mark Knecht
On Sun, Nov 6, 2011 at 4:43 AM, Dale rdalek1...@gmail.com wrote:
SNIP
 When I did my ls on
 /boot, the kernels were symlinks to the kernel sources on /usr which is not
 mounted yet.
SNIP

Why in the world would a kernel on /boot _ever_ be a symlink? That's
just not right for guys like you and me Dale!


 I reboot and the BIOS shows my drives not as SATA but as IDE.  However, I
 edit the grub kernel line to point to a good kernel and it boots.  I'm
 actually typing in it now.


So this is good. Glad you got that far.

 My questions you ask?  Why is the BIOS not seeing the drives correctly?  The
 main BIOS screen sees nothing and it used to print them on the screen,
 including the DVD burner.  They do show up on the second screen where AHCI
 detects drives.

IF by the 'first screen' you mean what you see when booting up then it
may or may not be a problem. I suspect your BIOS settings got
scrambled a bit. With my Asus MB there is an option to tell it to show
the drives on the first screen or not. If BIOS gets set back to
default then I don't see them. I then go in, set the option, and then
I do see them.

On this Asus machine I have two BIOS'es. When I do updates, if the
update doesn't go well, then the machine automatically drops back to
BIOS #2 which is (hopefully) unchanged. This is safe, but can at times
get a little confusing. Possibly your machine has something similar
and you're now using the second BIOS?


Good luck!!!

Cheers,
Mark



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Mark Knecht wrote:

On Sun, Nov 6, 2011 at 4:43 AM, Dalerdalek1...@gmail.com  wrote:
SNIP

When I did my ls on
/boot, the kernels were symlinks to the kernel sources on /usr which is not
mounted yet.

SNIP

Why in the world would a kernel on /boot _ever_ be a symlink? That's
just not right for guys like you and me Dale!


Reason for that is in another reply.  It was a symlink in the kernel 
sources directory too.  Once a symlink starts, it's a link from then 
on.  I just got to get the right one.  lol




I reboot and the BIOS shows my drives not as SATA but as IDE.  However, I
edit the grub kernel line to point to a good kernel and it boots.  I'm
actually typing in it now.


So this is good. Glad you got that far.


My questions you ask?  Why is the BIOS not seeing the drives correctly?  The
main BIOS screen sees nothing and it used to print them on the screen,
including the DVD burner.  They do show up on the second screen where AHCI
detects drives.

IF by the 'first screen' you mean what you see when booting up then it
may or may not be a problem. I suspect your BIOS settings got
scrambled a bit. With my Asus MB there is an option to tell it to show
the drives on the first screen or not. If BIOS gets set back to
default then I don't see them. I then go in, set the option, and then
I do see them.

On this Asus machine I have two BIOS'es. When I do updates, if the
update doesn't go well, then the machine automatically drops back to
BIOS #2 which is (hopefully) unchanged. This is safe, but can at times
get a little confusing. Possibly your machine has something similar
and you're now using the second BIOS?


Good luck!!!

Cheers,
Mark




By first screen, I mean the first screen that the BIOS pops up when 
booting.  You know, shows CPU, memory, drives and tells you to hit DEL 
to enter the BIOS config.  The second screen is the one that pops up 
right after the BIOS.  It is actually the SATA AHCI controller according 
to what it says.  It only shows up when AHCI is enabled I think.  Grub 
comes up after that.


I did update the BIOS on here once.  I have rebooted it several times 
and it seems to be working fine.  I may update once more but the new one 
was still a beta when I last checked.  I think that part is OK.  I 
think.  :/


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Mark Knecht
On Sun, Nov 6, 2011 at 7:06 AM, Dale rdalek1...@gmail.com wrote:
SNIP
 IF by the 'first screen' you mean what you see when booting up then it
 may or may not be a problem. I suspect your BIOS settings got
 scrambled a bit. With my Asus MB there is an option to tell it to show
 the drives on the first screen or not. If BIOS gets set back to
 default then I don't see them. I then go in, set the option, and then
 I do see them.
SNIP

 By first screen, I mean the first screen that the BIOS pops up when booting.
  You know, shows CPU, memory, drives and tells you to hit DEL to enter the
 BIOS config.  The second screen is the one that pops up right after the
 BIOS.  It is actually the SATA AHCI controller according to what it says.
  It only shows up when AHCI is enabled I think.  Grub comes up after that.

On my machine your first screen is configurable. It doesn't show
drives by default but I have a BIOS option which turns it on.

If I fall back to BIOS #2 then I don't see the drives just like you
are reporting. I have fallen back to BIOS #2 a couple of times on
power failure. One problem on 'power supply on the bottom' chassis is
it puts the power cable right near my feet and I've kicked the cable
out of the box twice in the last 18 months. My UPS won't protect me
from such stupidity! ;-)

Good luck getting to the root cause.

Cheers,
Mark



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Volker Armin Hemmann
Hi,

is it an Asus board?

Because Asus went cheap on bios chips not too long ago. Now we have the fun of 
Asus bioses getting confused because of stuff like turning off and similar 
cruel treatment. The fuck up with your transformer might habe caused a short 
spike, damaging the settings. 

In my experience, Asus boards with a confused cheap bios can be brought back 
with: resetting bios, turning off electricity several times and lots and lots 
of reboots.

There is a reason, I throw that garbage out and got gigabyte.

About the 'suddenly ide' drive mess: did you turn back the settings?

And the symlinks: just WTF? Just install debianutils, do 'make modules_install 
install' and /boot will always have the correct files, with nice symlinks 
named vmlinuz and vmlinuz.old etc...



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Volker Armin Hemmann wrote:

Hi,

is it an Asus board?

Because Asus went cheap on bios chips not too long ago. Now we have the fun of
Asus bioses getting confused because of stuff like turning off and similar
cruel treatment. The fuck up with your transformer might habe caused a short
spike, damaging the settings.

In my experience, Asus boards with a confused cheap bios can be brought back
with: resetting bios, turning off electricity several times and lots and lots
of reboots.

There is a reason, I throw that garbage out and got gigabyte.

About the 'suddenly ide' drive mess: did you turn back the settings?

And the symlinks: just WTF? Just install debianutils, do 'make modules_install
install' and /boot will always have the correct files, with nice symlinks
named vmlinuz and vmlinuz.old etc...





I have a Gigabyte mobo here too.  They are highly rated you know.  ^_^

I don't think much of a big spike could make it through all the surge 
protection.  I have one set at the wall, another built into the UPS and 
there is a LOT in there, and some more in the power supply itself.  If I 
had a lightening strike that was pretty close by, yea I would think that 
for sure.  I have to also say I am about 10 miles as the crow flies from 
the transformer.  Going the path of the wires, lots further.  That poor 
surge would have a lot to pass by to get to little ole me.  I might also 
add, our local power company does have a good bit of protection along 
the way.  When the power is on, it is good power.  When it is not good, 
its going off.  It stays pretty steady all things considered.  No storms 
around here either.  Just cold.  Brr.


I might also add, my old rig that plugs straight into the wall booted up 
fine.  It has no protection at all.  No UPS just whatever it has in the 
power supply itself.  It did sort of gripe about being shutdown 
improperly and did the usual file system checks but otherwise, it was fine.


I had to change the battery in the UPS a few years ago.  That thing has 
MOV's all over the place.  The cord coming from the wall, the PCB, the 
plug going out.  I think even a close by lightening strike would frown 
on that thing.  Jeez, by weight the UPS is a set of batteries, a 
transformer and MOV's.  lol  Some engineer must have got hit by 
lightening when he was designing that thing.  They put a lot in there.


UPS you ask, about a 8 year old CyberPower 1250AVR.  Yea, Automatic 
Voltage Regulation.  lol  I picked a good one even if it is old.


Going to go see my lady friend, all 90 lbs of her, will work on this 
more later.  ;-)  Yea, I feed her good but she won't gain a bit.  sighs 


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Florian Philipp
Am 06.11.2011 15:26, schrieb Dale:
 Mick wrote:
 Can you set in your BIOS which controller IDE or SATA manages the
 drives? I'm not sure why you have a symlink to your /usr/src/linux
 files from /boot (I don't understand it). In /boot you should have the
 image files themselves of your desired kernels (plus corresponding
 System and .config files). 
 
 I can but it seems to do the same thing either way.  I don't reboot much
 so maybe it is something in my head.  I'm pretty sure it used to list
 the drives on the main BIOS screen then when the controller screen comes
 up it detects them for AHCI.  What gets me is them not being seen while
 I am in the BIOS itself.  I know it used to see them there.  Whenever I
 add a drive or something, I check to make sure it sees everything
 correctly before I even boot my OS.  That way if I have a bad cable or
 forgot to connect something, I can fix it without booting and having to
 shutdown again.  Saves time.
 

Another idea: Do the disks spin up fast enough? Maybe the disks are not
ready in time to be picked up by the first BIOS screen. Then when they
spin up, they are detected by AHCI (which is hot-plug capable) just in
time for loading Grub.

Did you add any new hardware recently? I remember you wanted to install
new disks. Maybe your power supply cannot take the load and this delays
things. I've never seen this particular problem but this
bootup-powerspike is the reason why large disk arrays typically start
one disk after the other.

 I copy my kernels by hand.  Always have.  It appears that under arch is
 x86 and x86_64 and I copied from x86_64.  Thing is, that is only a
 symlink to x86 so it becomes a link in /boot instead.  Well, when grub
 tries to follow the link, root is not mounted yet and it can't see the
 file.  So, this one was on me.  I got to remember not to copy from the
 x86_64 even tho I have a 64 bit rig.
 

Odd thing. I never noticed they were symlinks. A simple `sudo cp ...`
does the right thing here. Did you use `cp -a`, maybe through an alias?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Florian Philipp wrote:

Am 06.11.2011 15:26, schrieb Dale:

Mick wrote:

Can you set in your BIOS which controller IDE or SATA manages the
drives? I'm not sure why you have a symlink to your /usr/src/linux
files from /boot (I don't understand it). In /boot you should have the
image files themselves of your desired kernels (plus corresponding
System and .config files).

I can but it seems to do the same thing either way.  I don't reboot much
so maybe it is something in my head.  I'm pretty sure it used to list
the drives on the main BIOS screen then when the controller screen comes
up it detects them for AHCI.  What gets me is them not being seen while
I am in the BIOS itself.  I know it used to see them there.  Whenever I
add a drive or something, I check to make sure it sees everything
correctly before I even boot my OS.  That way if I have a bad cable or
forgot to connect something, I can fix it without booting and having to
shutdown again.  Saves time.


Another idea: Do the disks spin up fast enough? Maybe the disks are not
ready in time to be picked up by the first BIOS screen. Then when they
spin up, they are detected by AHCI (which is hot-plug capable) just in
time for loading Grub.

Did you add any new hardware recently? I remember you wanted to install
new disks. Maybe your power supply cannot take the load and this delays
things. I've never seen this particular problem but this
bootup-powerspike is the reason why large disk arrays typically start
one disk after the other.


Actually it does the same even when I am rebooting.  The drives don't 
spin down when rebooting right?.  It is a heck of a thought tho.  Just 
for the record, I have a 650 watt P/S in this beast.  I got one plenty 
large enough to handle anything that would fit, except a space heater of 
course.  lol  I think I hear foldingathome calling.  It's starting to 
get cold.  As soon as the day temps cool off, folding will be running.


No new hardware yet.  I do plan to add a drive or two tho.  I just 
haven't got around to finding one yet.  I did check all the connections 
tho, power and data.  And now that it is booted, everything seems to 
work like usual.



I copy my kernels by hand.  Always have.  It appears that under arch is
x86 and x86_64 and I copied from x86_64.  Thing is, that is only a
symlink to x86 so it becomes a link in /boot instead.  Well, when grub
tries to follow the link, root is not mounted yet and it can't see the
file.  So, this one was on me.  I got to remember not to copy from the
x86_64 even tho I have a 64 bit rig.


Odd thing. I never noticed they were symlinks. A simple `sudo cp ...`
does the right thing here. Did you use `cp -a`, maybe through an alias?



I do use -av out of habit.  That habit started when I was copying 
installs from one drive to another.  I don't think I have any aliases 
anymore.  It would be good if I just copied the right thing.  :/


I did download a new sysrescue thingy.  Maybe it is just a bad version 
or something or just a bad file on the stick.  Still not sure about the 
BIOS part tho.


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Neil Bothwick
On Sun, 06 Nov 2011 13:21:33 -0600, Dale wrote:

  Odd thing. I never noticed they were symlinks. A simple `sudo cp ...`
  does the right thing here. Did you use `cp -a`, maybe through an
  alias? 
 
 I do use -av out of habit.  That habit started when I was copying 
 installs from one drive to another.  I don't think I have any aliases 
 anymore.  It would be good if I just copied the right thing.  :/

Or you could use make install and remove the possibility for screw-ups.
After all, you trust make to build and kernel, then build and copy the
entire module tree. Surely you can manage to trust it with one more
file :-O


-- 
Neil Bothwick

When you finally buy enough memory, you will not have enough disk space.
 -- Murphy's Computer Laws n\xB03


signature.asc
Description: PGP signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Neil Bothwick wrote:

On Sun, 06 Nov 2011 13:21:33 -0600, Dale wrote:


Odd thing. I never noticed they were symlinks. A simple `sudo cp ...`
does the right thing here. Did you use `cp -a`, maybe through an
alias?

I do use -av out of habit.  That habit started when I was copying
installs from one drive to another.  I don't think I have any aliases
anymore.  It would be good if I just copied the right thing.  :/

Or you could use make install and remove the possibility for screw-ups.
After all, you trust make to build and kernel, then build and copy the
entire module tree. Surely you can manage to trust it with one more
file :-O




I did use it once but I didn't like the way it did it.  That could have 
changed since then tho.  I'm also bad to keep several versions of older 
kernels around too. I have had over a dozen on /boot before.  That's why 
my /boot is a 200 Mbs or so.  Sort of like this:


Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda1   186663 26457150569  15% /boot

If we carry this to far, I'll being using Linux from Scratch.  ;-)

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Neil Bothwick
On Sun, 06 Nov 2011 16:22:41 -0600, Dale wrote:

  Or you could use make install and remove the possibility for
  screw-ups. After all, you trust make to build and kernel, then build
  and copy the entire module tree. Surely you can manage to trust it
  with one more file :-O

 I did use it once but I didn't like the way it did it.  That could have 
 changed since then tho.  I'm also bad to keep several versions of older 
 kernels around too. I have had over a dozen on /boot before.  That's
 why my /boot is a 200 Mbs or so.  Sort of like this:

All it does it copy the kernel, system map and config to /boot and reset
the symlinks to point to the new and previous kernels. You can still keep
as many kernels as you want in /boot, but you can always boot the last two
without modifying GRUB's config.


-- 
Neil Bothwick

Why do they call it a TV set when you only get one?


signature.asc
Description: PGP signature


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Adam Carter
 All it does it copy the kernel, system map and config to /boot and reset
 the symlinks to point to the new and previous kernels. You can still keep
 as many kernels as you want in /boot, but you can always boot the last two
 without modifying GRUB's config.

Can you please ls -l /boot so i can see what it sets up? I'm still
doing all that manually...



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Pandu Poluan
On Nov 7, 2011 8:03 AM, Adam Carter adamcart...@gmail.com wrote:

  All it does it copy the kernel, system map and config to /boot and reset
  the symlinks to point to the new and previous kernels. You can still
keep
  as many kernels as you want in /boot, but you can always boot the last
two
  without modifying GRUB's config.

 Can you please ls -l /boot so i can see what it sets up? I'm still
 doing all that manually...


Likewise. I only get the vmlinuz file when I do make install.

Rgds,


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Pandu Poluan
On Nov 7, 2011 8:18 AM, Pandu Poluan pa...@poluan.info wrote:


 On Nov 7, 2011 8:03 AM, Adam Carter adamcart...@gmail.com wrote:
 
   All it does it copy the kernel, system map and config to /boot and
reset
   the symlinks to point to the new and previous kernels. You can still
keep
   as many kernels as you want in /boot, but you can always boot the
last two
   without modifying GRUB's config.
 
  Can you please ls -l /boot so i can see what it sets up? I'm still
  doing all that manually...
 

 Likewise. I only get the vmlinuz file when I do make install.

 Rgds,

Bah, tapped Send too quickly. After I do make install, I usually rename
vmlinuz to vmlinuz-$(date +%Y%m%d_%H%M%S), and I have to add a menu entry
for the latest kernel (not edit, so make install apparently didn't add the
latest kernel into the grub menu).

Rgds,


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Dale

Pandu Poluan wrote:



On Nov 7, 2011 8:18 AM, Pandu Poluan pa...@poluan.info 
mailto:pa...@poluan.info wrote:



 On Nov 7, 2011 8:03 AM, Adam Carter adamcart...@gmail.com 
mailto:adamcart...@gmail.com wrote:

 
   All it does it copy the kernel, system map and config to /boot 
and reset
   the symlinks to point to the new and previous kernels. You can 
still keep
   as many kernels as you want in /boot, but you can always boot 
the last two

   without modifying GRUB's config.
 
  Can you please ls -l /boot so i can see what it sets up? I'm still
  doing all that manually...
 

 Likewise. I only get the vmlinuz file when I do make install.

 Rgds,

Bah, tapped Send too quickly. After I do make install, I usually 
rename vmlinuz to vmlinuz-$(date +%Y%m%d_%H%M%S), and I have to add 
a menu entry for the latest kernel (not edit, so make install 
apparently didn't add the latest kernel into the grub menu).


Rgds,



Mine is like this:

-rw-r--r-- 1 root root 4547936 Aug 22 03:53 /boot/bzImage-3.0.3-1
-rw-r--r-- 1 root root 4548640 Sep  1 07:19 /boot/bzImage-3.0.4-1
-rw-r--r-- 1 root root 5162752 Oct 12 21:49 /boot/bzImage-3.0.4-2
-rw-r--r-- 1 root root 5167840 Oct 13 00:05 /boot/bzImage-3.0.6-1
-rw-r--r-- 1 root root 5167776 Oct 19 02:14 /boot/bzImage-3.0.7-1


The last number is how many times it took to get a stable one.  
Sometimes it is one, sometimes two.  I would also like to see how make 
install does it nowadays.  Maybe worth another try.


Oh, I name the config files the same as the kernel too.  Am I OCD?  o_O

Dale

:-)  :-)