Re: [gentoo-user] Re: Grub heartbreaker

2008-04-24 Thread Don Jerman
On 4/24/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Alan McKinnon [EMAIL PROTECTED] writes:

[...]
 In the screen shot provided note that it appears grub is expecting an
 intramfs and only lists those types of devices, rejecting both
 (hd0,0) and /dev/sda3.

  http://www.jtan.com/~reader/vu/disp.cgi


I think you're in kernel-land when you get those errors, and your
kernel is built to use an initrd which it doesn't find (because you
don't give it on the command line).  I could be mistaken but that's
what I see there.  Is there an initrd image in the root of the boot
partition (next to the kernel)?  Try specifying that on the command
line.

Alternatively, check that your kernel is configured correctly for the
chipset that the vmware is emulating - it may just be missing the
vmware hardware and falling back to the non-existent initrd for more
drivers.  You may need to compile another kernel to proceed, or build
an initrd with the missing drivers. (unfortunately I don't do vmware
so I don't know what it needs)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Grub hangs when a USB disk is attached

2008-02-29 Thread Don Jerman
On 2/28/08, andrea [EMAIL PROTECTED] wrote:

 On gio, 2008-02-28 at 19:23 +0100, KH wrote:
  Hi,
 
  never tried that and might only be a temporary workaround. You could
  install grub in the mbr of both disk and then point them only to your
  internal disk. That way you should always be able to boot, shouldn't you?
 
 /dev/sdd does not have any corresponding BIOS drive.

 mmmh... what does it mean?


When the usb disk is attached after boot the BIOS doesn't give it a HD
number in the series 0x80,0x81, etc, where 0x80 = (hd0) in grub or
/dev/sda.  The OS handles all the controller events and connects the
USB device up through udev.

When it is attached at boot-time it does get one(!) because the BIOS
sees it before the OS has hooked in.

To accomplish this you probably need to boot from the CD while the USB
is attached.  To me it seems risky, but possible.  I wonder what will
happen when you disconnect the USB drive after booting is complete?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Grub hangs when a USB disk is attached

2008-02-29 Thread Don Jerman
On 2/29/08, andrea [EMAIL PROTECTED] wrote:

 On ven, 2008-02-29 at 13:00 -0500, Don Jerman wrote:

  When the usb disk is attached after boot the BIOS doesn't give it a HD
  number in the series 0x80,0x81, etc, where 0x80 = (hd0) in grub or
  /dev/sda.  The OS handles all the controller events and connects the
  USB device up through udev.
 
  When it is attached at boot-time it does get one(!) because the BIOS
  sees it before the OS has hooked in.
 
  To accomplish this you probably need to boot from the CD while the USB
  is attached.  To me it seems risky, but possible.  I wonder what will
  happen when you disconnect the USB drive after booting is complete?

 No way. Even if booting from a livecd (and the usb disk is seen as
 (hd0,0) grub unstall still complain about missing BIOS driver.

 I also tried from the grub shell:
 grub root (hd0,0)
 grub setup (hd0)
 but at this point the program exits whit a segmentation fault message.

Well that's what I get for answering off-the-cuff :)  Let us know if
you get a solution, I need it too!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Grub hangs when a USB disk is attached

2008-02-28 Thread Don Jerman
I've had problems with disk presentation order changing (fairly
randomly) when USB disks are attached during boot.  Apparently there's
a race between the SCSI controller and the USB controller(s).  If you
attach the USB disk later the SCSI stuff has all been discovered so of
course it gets allocated later in the list, but if it's attached while
booting the USB disk might come first or in the middle somewhere.

This might lead to grub looking for its files in the wrong place,
which might explain the hang.

If you want to test this theory, boot from a CD while the USB is
installed and see where it winds up in /dev, then boot without it.  Be
very careful about assuming drive identities!  That's how I lost my
system disk last time -- /dev/sdb seemed to be partitioned funny and I
figured it out just a little too late.


On 2/28/08, andrea [EMAIL PROTECTED] wrote:
 I had no problem booting since last time I partitoned my USB external
 disk.

 ==
 Disk /dev/sdc: 80.0 GB, 80026361856 bytes
 255 heads, 63 sectors/track, 9729 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
 /dev/sdc1   1243319543041   83  Linux
 /dev/sdc22434486619543072+  83  Linux
 /dev/sdc34867729919543072+  83  Linux
 /dev/sdc47300972919518975   83  Linux
 ===

 When I boot and the disk is plugged, right after BIOS screen I get a
 GRUB_ and the boot process hangs.

 I guessed it was a BIOS problem so I tried to edit boot order and also
 to disable USB boot (that I don't need).

 BTW when the disk is unplugged grub loads perfectly.

 Thanks in advance.


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Grub hangs when a USB disk is attached

2008-02-28 Thread Don Jerman
I've had problems with disk presentation order changing (fairly
randomly) when USB disks are attached during boot.  Apparently there's
a race between the SCSI controller and the USB controller(s).  If you
attach the USB disk later the SCSI stuff has all been discovered so of
course it gets allocated later in the list, but if it's attached while
booting the USB disk might come first or in the middle somewhere.

This might lead to grub looking for its files in the wrong place,
which might explain the hang.

If you want to test this theory, boot from a CD while the USB is
installed and see where it winds up in /dev, then boot without it.  Be
very careful about assuming drive identities!  That's how I lost my
system disk last time -- /dev/sdb seemed to be partitioned funny and I
figured it out just a little too late.


On 2/28/08, andrea [EMAIL PROTECTED] wrote:
 I had no problem booting since last time I partitoned my USB external
 disk.

 ==
 Disk /dev/sdc: 80.0 GB, 80026361856 bytes
 255 heads, 63 sectors/track, 9729 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
 /dev/sdc1   1243319543041   83  Linux
 /dev/sdc22434486619543072+  83  Linux
 /dev/sdc34867729919543072+  83  Linux
 /dev/sdc47300972919518975   83  Linux
 ===

 When I boot and the disk is plugged, right after BIOS screen I get a
 GRUB_ and the boot process hangs.

 I guessed it was a BIOS problem so I tried to edit boot order and also
 to disable USB boot (that I don't need).

 BTW when the disk is unplugged grub loads perfectly.

 Thanks in advance.


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Don Jerman
I personally prefer JFS to XFS and have used it for years on my
servers and laptop with no problem other than hardware errors (and if
the hardware fails the fs will not help you).  I had system board
problems in the laptop and a bad RAID controller in the server this
last year :(.  Other than that I always recovered from outages with a
journal-replay.

Your plan looks rational except I wouldn't use ext3 for storing video
- it's slow when deleting large files and large numbers of files - xfs
or jfs would be better.  For that matter you may care to split your
video and mp3 storage because mp3's are small and videos are usually
large.  If your videos are generally uniform (like on mythtv,
allocated in half-hour multiples) storing them all in a filesystem of
their own will reduce fragmentation.  If you're doing write-once it
doesn't matter so much, but if you delete things a lot it's more
important to performance.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: migrating to LVM

2007-10-21 Thread Don Jerman
On 10/20/07, Neil Bothwick [EMAIL PROTECTED] wrote:
 Hello Don Jerman,

  So / and /boot will be smallish physical partitions - I use the
  minimum size for /boot and around 10G for root,

 When did 10GB become small for a root partition? I have a 400MB root
 partition, 35% full, no /boot and everything else on LVM.


 --
 Neil Bothwick

 Energizer Bunny arrested, charged with battery :)


Since my smallest hard disk is a quarter terabyte :) 8G to 10G is
plenty to keep portage and compile openoffice before you build out
your logical volumes, and my goal is to simplify management, more than
to manage efficiently.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: migrating to LVM

2007-10-19 Thread Don Jerman
On 10/19/07, Thufir [EMAIL PROTECTED] wrote:
 On Thu, 18 Oct 2007 10:26:49 +0200, Dirk Heinrichs wrote:

  hda1: Windows
  hda2: Linux (/boot)
  hda3: Linux (/)
  hda4: PV for LVM (PV = Physical Volume)
  hdb1: PV for LVM
 
  The two PVs will be assigned to one Volume Group (VG), inside which you
  want to create LVs (Logical Volumes) for /usr, /var, /home/user, swap,
  ...
 
  Is this correct?


 Yes.

 Looking at http://gentoo-wiki.com/
 HOWTO_Install_Gentoo_on_an_LVM2_root_partition, and the section of the
 Gentoo Handbook it points to, critical system files would be on /
 partition, the root partition?

Usually, yes.  If /boot and /root are not members of the LVM volume
group it's much simpler to manage and recover from problems.

It's possible to put everything on LV's (apparently grub even supports
/boot on LV) but it means you have to have an initrd that can perform
the LVM initialization from the ramdisk and swap all the critical
partitions before starting the real init process.  If that
initialization goes wrong somehow it's not going to boot at all (no
linux single rescue mode) so you're stuck going back to a non-LV
boot method (CD, or a  rescue partition or something).  Once you get
the juggling act right the risk is fairly small, but it does add more
complexity to the boot process so there's more errors that can break
it.

So / and /boot will be smallish physical partitions - I use the
minimum size for /boot and around 10G for root, and LVM manages
anything that gets dynamically large or uncertain like /home/, /opt/,
and application directories like /var/lib/mythtv/ or /var/spool/mail/.
 Anything that starts to eat up a large part of my root partition is a
candidate for copying over to a LV later on.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Don Jerman
On 10/4/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote:

 kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

try:
kernel (hd0,0)/kernel-gengenkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

why:
/boot is where you mount (hd0,0) while gentoo is running, but while
grub is running you're starting from the boot partition's filesystem
root. Easy mistake, I do it all the time when I try to do something
fancy with grub.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Webcam on Pavilion Dv1000

2007-09-10 Thread Don Jerman
On 9/5/07, CESAR GAVIDIA [EMAIL PROTECTED] wrote:

 Greetings brothers, I have a laptop Hp Pavilion dv1000, this brings
 incorporated a webcam and a microphone, which have been able to fail to
 utilize.

Sam Revich had a driver for the webcam on my HP dv9000t, which allowed
me to get images.  Something in the control data is different from the
standard model however, so I can't really do anything with it without
crashing the device, and I haven't been a good debugging partner.  I'd
be happy to use the thing but I don't have time to figure it out right
now.

I don't know if my device is the same as yours -- Sam has a listing of
the USB device numbers on his blog, so you can see if his driver would
work.  If you have problems using it, he may be willing to work with
you if you have time to help him with the data he needs for debugging.

Here's the blog:
http://lsb.blogdns.net/ry5u870/
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] MCE in kernel

2007-09-04 Thread Don Jerman
On 9/3/07, Alan E. Davis [EMAIL PROTECTED] wrote:
 Thank you.  I have solved the problem for now, but live in fear that there
 is something untoward going in on my hardware.

Quite possible.  It can also be caused by misconfiguring kernel
drivers.  I recently (accidently) selected the ATI agpart driver
instead of the Intel driver.  Most drivers correctly detect when their
corresponding device isn't present, but this one gamely tried to
manage the AGP bridge and fouled up memory whenever X started...

So you may want to review your kernel config and make sure you have
all the devices you're attempting to use.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xorg-x11: How To Calibrate Monitor Color?

2007-08-30 Thread Don Jerman
On 8/30/07, fire-eyes [EMAIL PROTECTED] wrote:
 I'm using xorg 7.2.0 with open source drivers on an ati card. How would
 I calibrate my monitor? i.e. what a photographer or graphics person
 would want to to, do ensure I'm seeing accurate colors on my screen?

you could take the trouble to learn about color management, and look
at LProf : http://lprof.sourceforge.net/  (which is available in
portage) to generate and install color profiles for your devices.

Or do what I do - adjust the monitor settings (forget about X) to make
an image look like a printed copy of the image.  That's my bottom line
- if it prints like it looks I'm happy.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Grub md5crypt broken

2007-08-20 Thread Don Jerman
On 8/20/07, Dan Cowsill [EMAIL PROTECTED] wrote:
 I started having problems with my boot password not too long after I
 changed it and I stumbled upon something altogether weird.

 The following is a copy of what grub is giving me for an md5 hash:

 --

 grub md5crypt

 Password: 
 Encrypted: $1$vhwK6$dV.xpYBymjq7.cZVnFZYe0

 grub md5crypt

 Password: 
 Encrypted: $1$miwK6$BKU11//PyeKMxtgiCbEeZ0

 grub md5crypt

 Password: 
 Encrypted: $1$njwK6$3KqXwDtPqGm6cBGQgSl2.0

 grub md5crypt

 Password: 
 Encrypted: $1$YkwK6$QCQguFhrGofbJXYnA62J91

 grub

 --

 Now, keep in mind that the word I'm typing is 'test'.  No
 capitalization, no spaces, no nonsense.  And yet the hashes md5crypt
 returns are all different.  Now, that's no good if you ask me.

These are all password-recognizers, not md5 hash strings (ok, they are
in part).

The $1$ identifies a salt lead-in, the next part is the salt for your
password (generated randomly) up to the next $, then the hash of your
password + salt (to the end of the string).  Given the secret salt,
Grub (or anything else using this method) can combine it with the
candidate password and check the hash.  But since the salt is random
you get a different hash every time.

This behavior is desirable in case you have two or more password
recognizers in the same config file (or in files accessable to the
same untrusted reader).  It prevents identical passwords from being
detected (as you demonstrated) by reading the recognizer strings.

So no, not broken, just not what you expected.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT :video cameras and gentoo

2007-08-10 Thread Don Jerman
On 8/10/07, James [EMAIL PROTECTED] wrote:
 Hello to all,

 I'm in need of a portable video camera(or rig), such as the
 sony SR82, but one that is gentoo friendly
 for video transfer. Hopefully I can find a video
 camera that transfers directly to a gentoo
 sytem via usb 2.0? After my experience with a Sony
 Viao Laptop, I'm not really keen on anything else
 from sony (now that I think about it).

 Another nice feature would be the ability to use
 the laptop screen for viewing  (while recording)
 instead of looking at that 2.7 in popout screen.

 A remote control (wireless or via the usb cable) from
 a gentoo linux system would be keen.

 Am I dreaming or has somebody seen a linux friendly
 video camera.  My target is to record video at
 football and basketball practice where my kids play.


 Or maybe somebody has interfaces a PTZ (pan tilt zoom)
 to a linux system and record in ntsc(pal) then later
 on convert to h.264 or such? I considering mounting
 the PTZ camera on a pole, so I can sit in the shade
 or a camper and record video, gentoo studio style...
 (beginning to sound like a project). Maybe use a logitech
 joystick to map all of the camera functions and use
 a laptop for recording (under the shade)


Zoneminder leaps to mind, but it's more geared toward being the
recording/viewing center for a separate camera.  PTZ cameras tend not
to be camcorders too, but there are several ip-addressable ones (so
one assumes you could wire up the camera to a wireless hub and take
your laptop elsewhere).  See www-misc/zoneminder or the website at
www.zoneminder.com.  Compatible cameras are listed in their wiki.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching from Genkernel to manual build

2007-08-01 Thread Don Jerman
On 8/1/07, Abraham Marín Pérez [EMAIL PROTECTED] wrote:
 Dan Cowsill escribió:
  Is there any specific process to or problems one might encounter as a
  result of switching from a Genkernel built kernel over to a manually
  built kernel?
 
 As far as I can think of it would be enough getting the config file
 generated by genkernel, editing it through make config or similar and go
 ahead.

Only other thing I ran into (admittedly in 2004 or 2005 or so) is if
genkernel is doing any initrd-magick for you you'll need to either
understand it and do it yourself, or config your kernel so all that
stuff is built-in.  It was a little embarrassing when none of my JFS
partitions got found on that first reboot.  Keep a boot CD or DVD in
case of real disaster, and configure your current boot kernel as an
alternative choice in GRUB until you get the hand-rolled version
stabilized.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Machine freezes during gcc compile

2007-07-30 Thread Don Jerman
If it's brand-new, have you ever installed Linux on this particular
processor/motherboard combination?  I had a problem with freezeups
with my TurionX2 laptop until I used -noapic on the kernel line.
Nothing much to do with load, except that more work = more chance of
encountering the problem.

I also had heat-related issues until I got the thermal sensors coupled
with the speed governor.  But then the machine would just turn off
abruptly. I was able to get it to run long enough to recompile by
putting a pencil up under the corner where the vents are, for more
clearance and airflow.

More details about the system might help you get better answers.

On 7/30/07, Dan Cowsill [EMAIL PROTECTED] wrote:
 I just got myself a new laptop and wanted to install Gentoo on it.
 After getting a working base system installed, I tried to install
 Xorg-x11, but the machine froze while trying to compile gcc.  Keep in
 mind, there were no error messages, logs or anything of that nature.
 Just a straight up lack of any sort of control over the system.

 Now, just a little while ago I decided I'd try a different approach.
 I thought perhaps the problem lies in how I compiled the kernel.  I
 tried to emerge gcc in the livecd environment with my gentoo install
 chrooted and sure enough, same deal.

 Does anyone know what could cause this?  Or perhaps, what I should
 look for to solve this problem?

 Thanks.

 --
 -·=»Ðŧħ«=·-



Re: [gentoo-user] Machine freezes during gcc compile

2007-07-30 Thread Don Jerman
It appears there are still apic issues under x86_64 SMP, so look at
noapic if you continue to have hangups (you may have this AND heat
problems).

Also look at the AMD_64 architecture forums at gentoo.org.  I'm not
familiar with the Acer peripherals but that forum helped me with my
HP9000z.

On 7/30/07, Dan Cowsill [EMAIL PROTECTED] wrote:
 Yes, it's a new Acer, with a Amd64 Turion mobile mk-38.  I had thought
 initially that the cpu was to blame for the freezups as indeed I have
 never installed on this particular processor.

 So far, so good with the freezing, though.  I propped the machine up,
 and all seems to be going smoothly...

 Does anyone know of any special considerations I should take with the 
 processor?

 Thanks.


 On 7/30/07, Dan Cowsill [EMAIL PROTECTED] wrote:
  Yes, I've done some reading and indeed it probably is overheating.
  I'll probably prop it up on some jewel cases and blow a fan at it
  until I can get a working system.  Then I'll investigate cpu frequency
  scaling.
 
  Thanks for your advice.
 
  On 7/30/07, Daniel da Veiga [EMAIL PROTECTED] wrote:
   On 7/30/07, Dan Cowsill [EMAIL PROTECTED] wrote:
I just got myself a new laptop and wanted to install Gentoo on it.
After getting a working base system installed, I tried to install
Xorg-x11, but the machine froze while trying to compile gcc.  Keep in
mind, there were no error messages, logs or anything of that nature.
Just a straight up lack of any sort of control over the system.
   
Now, just a little while ago I decided I'd try a different approach.
I thought perhaps the problem lies in how I compiled the kernel.  I
tried to emerge gcc in the livecd environment with my gentoo install
chrooted and sure enough, same deal.
   
Does anyone know what could cause this?  Or perhaps, what I should
look for to solve this problem?
   
  
   Probably your laptop overheated... It happened to me once.
  
   Make sure that all fans are not obstructed in any way, and think about
   setting up CPU frequency scaling according to the CPU temperature, was
   the only way to get my laptop to compile stuff like GCC and
   OpenOffice, to set it down to 2.0 GHz when it reaches 70 degrees,
   instead of its full 2.6GHz.
  
   --
   Daniel da Veiga
   Computer Operator - RS - Brazil
   -BEGIN GEEK CODE BLOCK-
   Version: 3.1
   GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
   PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
   --END GEEK CODE BLOCK--
   --
   [EMAIL PROTECTED] mailing list
  
  
 
 
  --
  -·=»Ðŧħ«=·-
 


 --
 -·=»Ðŧħ«=·-



Re: [gentoo-user] about grub

2007-07-05 Thread Don Jerman

On 7/5/07, Dirk Heinrichs [EMAIL PROTECTED] wrote:
[...]

As I wrote in my first answer to this thread (which somehow didn't make it
to the list, yet), the problem is (IMHO) with /boot not beeing mounted at
all.


Yes, if you followed the Gentoo install instructions closely /boot is
not mounted during normal operation, so if you install a new kernel it
will write /boot/grub/grub.conf (or /boot/grub/menu.lst) to your root
partition, not your boot partition.  Grub is instructed to use (hd0,0)
or whatever your particular boot partition is, so it's not going to
see the /boot directory on your root partition - mount /boot and
re-install the new kernel version and it'll probably boot fine.  Then
you can clean up the version of /boot that's on your root partition
(verify that /boot is not mounted first!).
--
[EMAIL PROTECTED] mailing list