Re: [gentoo-user] pseudo-serial port called /dev/ttyUSB0

2008-05-20 Thread Joseph

I did plug the device IN and it was recognized.
Well, in my case /dev/ttyUSB* does not appear at all. 
There are 325 tty* devices but non of them that starts as: ttyUSB


here is dmesg:
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for Garmin GPS 
usb/tty
usbcore: registered new interface driver garmin_gps
drivers/usb/serial/garmin_gps.c: garmin gps driver v0.31
...

dmesg when I plug it to USB port.
scsi 0:0:0:0: Direct-Access Garmin   nuvi Flash   1.00 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 2946989 512-byte hardware sectors (1509 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 2946989 512-byte hardware sectors (1509 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access Garmin   nuvi SD Card 1.00 PQ: 0 ANSI: 5
sd 0:0:0:1: [sdb] Attached SCSI removable disk
sd 0:0:0:1: Attached scsi generic sg1 type 0
usb-storage: device scan complete

So, someting is not working with this Garmin USB kernel driver :-/

--
#Joseph
GPG KeyID: ED0E1FB7

On 05/20/08 13:52, W.Kenworthy wrote:

If its like the palm syncing over usb - they only appear when the device
is plugged in/active.  Yes its a pain ...

BillK


On Mon, 2008-05-19 at 23:49 -0600, Joseph wrote:
I've compiled Garmin USB support into kernel but after rebooting it did not create pseudo-serial port called 
/dev/ttyUSB0


How to troubleshoot it?

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



Re: [gentoo-user] pseudo-serial port called /dev/ttyUSB0

2008-05-20 Thread W.Kenworthy
I am not at my home machine - but I think they appear in /dev/usb/

Check the udev rules file, thats where they live.  I cant get at the
machine I use to sync to check exactly where.

BillK


On Tue, 2008-05-20 at 00:13 -0600, Joseph wrote:
 I did plug the device IN and it was recognized.
 Well, in my case /dev/ttyUSB* does not appear at all. 
 There are 325 tty* devices but non of them that starts as: ttyUSB

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



[gentoo-user] Apache2 + PHP5 problem

2008-05-20 Thread Mateusz A. Mierzwiński
Can anybody tell me what happend with PHP5 under (Linux athene 
2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must 
be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel 
GNU/Linux) Gentoo? My server runs with error (and white pages after 
accessing):


[Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal 
Segmentation fault (11)
[Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal 
Segmentation fault (11)
[Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal 
Segmentation fault (11)


After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache 
everything is OK but... without PHP. What's up. This is PHP build flags:


[ebuild   R   ] dev-lang/php-5.2.6_rc4  USE=apache2 berkdb bzip2 cgi 
cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc 
pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc 
threads unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) 
-bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl 
-curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc 
(-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter 
(-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external 
-gdbm -gmp -inifile -interbase -ipv6 (-java-external) -json -kerberos 
-ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 
(-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection -sapdb 
-sharedext -sharedmem -snmp (-solid) -spell -spl -sqlite -suhosin 
(-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz 
-zip-external 0 kB





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



[gentoo-user] Re: Can't install emacs-cvs on semi-minimal install of gentoo (no X)

2008-05-20 Thread reader
[EMAIL PROTECTED] writes:

 'xpm' is a graphics format ( X Pix Map, IIRC) so that may be a problem.
 There is also a USE flag for Xface as well.

 Try adding '-xpm -xface' to your USE flags.

 Well I can report that it wasn't the xpm flag.  I haven't tried with
 -xface yet but wouldn't the output above have shown `xface' as one of
 the USE flags if it was in fact being invoked?

And I can now report that it WAS `-xface' or so it would seem since 
running `emerge -v -xpm -xface' has completed without error.

Thanks... but this brings a question to my mind and makes me think I've
been misunderstanding the output one sees with `emerge -vp whatever'

I've been using that to see what USE flags would be in play.  Is that
a wrong notion?  Because `xface' was NOT a flag that showed up on my
trial run with `emerge -vp emacs-cvs'.

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



[gentoo-user] freepops plays up

2008-05-20 Thread Mick
This is probably simple enough to resolve:

I updated lua recently to:

[D] dev-lang/lua
  Installed versions:  5.1.3-r1(08:44:37 05/19/08)
(readline -deprecated -static)

Meanwhile, I am running freepops-0.2.5.  Since lua was updated freepops keels 
over with a lookup error for lua:

 $ freepopsd -v -s michael.users
Tue May 20 11:09:27 2008 freepopsd: INTERNAL: freepops started with loglevel 1 
on a little endian machine.
Tue May 20 11:09:27 2008 freepopsd: PID: Cannot create pid 
file /var/run/freepopsd.pid
freepopsd: symbol lookup error: freepopsd: undefined symbol: luaL_openlib


revdep-rebuild does not show anything.  Is it a bug?
-- 
Regards,
Mick


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


Re: [gentoo-user] Apache2 + PHP5 problem

2008-05-20 Thread Alexey Medvedchikov
On 5/20/08, Mateusz A. Mierzwiński [EMAIL PROTECTED] wrote:
 Can anybody tell me what happend with PHP5 under (Linux athene
 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be
 set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux)
 Gentoo? My server runs with error (and white pages after accessing):

  [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation
 fault (11)
  [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation
 fault (11)
  [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation
 fault (11)

  After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache
 everything is OK but... without PHP. What's up. This is PHP build flags:

  [ebuild   R   ] dev-lang/php-5.2.6_rc4  USE=apache2 berkdb bzip2 cgi cli
 crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre
 pic posix readline session simplexml soap sockets ssl sysvipc threads
 unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath
 (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers
 -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs)
 (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile
 -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile -interbase
 -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve
 -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm
 -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) -spell -spl
 -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx
 -xpm -xsl -yaz -zip-external 0 kB




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



Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont
remember what - had same problem - use revdep-rebuild
(app-portage/gentoolkit)

-- 
Free as in `freedom', not as beer.


Re: [gentoo-user] pseudo-serial port called /dev/ttyUSB0

2008-05-20 Thread Joseph

No, I don't have /dev/usb/

The only devices I have are:
# ll /dev/usbdev
usbdev1.1_ep00  usbdev2.1_ep00  usbdev2.2_ep00  usbdev2.2_ep81  usbdev3.1_ep81  
usbdev4.1_ep81
usbdev1.1_ep81  usbdev2.1_ep81  usbdev2.2_ep03  usbdev3.1_ep00  usbdev4.1_ep00

In addition there are:
/dev/bus/usb/001/001
/dev/bus/usb/002/001 002
/dev/bus/usb/003/001
/dev/bus/usb/004/001

--
#Joseph
GPG KeyID: ED0E1FB7

On 05/20/08 14:34, W.Kenworthy wrote:

I am not at my home machine - but I think they appear in /dev/usb/

Check the udev rules file, thats where they live.  I cant get at the
machine I use to sync to check exactly where.

BillK


On Tue, 2008-05-20 at 00:13 -0600, Joseph wrote:

I did plug the device IN and it was recognized.
Well, in my case /dev/ttyUSB* does not appear at all. 
There are 325 tty* devices but non of them that starts as: ttyUSB




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



Re: [gentoo-user] freepops plays up

2008-05-20 Thread Andrey Falko
On Tue, May 20, 2008 at 9:26 AM, Mick [EMAIL PROTECTED] wrote:
 This is probably simple enough to resolve:

 I updated lua recently to:

 [D] dev-lang/lua
  Installed versions:  5.1.3-r1(08:44:37 05/19/08)
 (readline -deprecated -static)

 Meanwhile, I am running freepops-0.2.5.  Since lua was updated freepops keels
 over with a lookup error for lua:
 
  $ freepopsd -v -s michael.users
 Tue May 20 11:09:27 2008 freepopsd: INTERNAL: freepops started with loglevel 1
 on a little endian machine.
 Tue May 20 11:09:27 2008 freepopsd: PID: Cannot create pid
 file /var/run/freepopsd.pid
 freepopsd: symbol lookup error: freepopsd: undefined symbol: luaL_openlib
 

 revdep-rebuild does not show anything.  Is it a bug?
You tried re-emerging freepops, right? If it works after you re-emerge
it, then there is bug with revdep-rebuild.
You tried it, then you've hit some sort of bug with linking.

So yes, its some sort of bug.
 --
 Regards,
 Mick

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



[gentoo-user] pear hangs no FUTEX_WAIT

2008-05-20 Thread ti . liame

I have two LAMP servers, on the developing machine I was able to install and
use PEAR-Image-GraphViz, but the production server has an issue with PEAR.

Even the simple pear command from the command line hangs, strace show that
it hangs at 

futex(0x2ac88d5093a0, FUTEX_WAIT, 2, NULL   

everything else seems (to me!) ok, google only related hint is to make sure
thread is activated for php and apache, so I did.

revdep-rebuild, emerge --depclean and eix-test-obsolete agree about the
cleanliness of the installation.

I installed on the production server PEAR-ImageGraphViz with emerge -K, but
of course it didn't solve the problem.

Anyone can help me??

TIA
Francesco 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Scopri Carta Eureka e realizza i tuoi sogni! Fido fino a 3.000 euro, rate a
partire da 20 euro e canone gratis il 1° anno!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7878d=20080520


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



[gentoo-user] Are some-cvs items synced with actual cvs often?

2008-05-20 Thread reader
I'm curious how some-cvs type packages work.

In particular emacs-cvs.  I'm running what gentoo tells me is
emacs-23.0..

I have certain font problems that judging by following the emacs-dev
list are now somewhat dealt with in current cvs.

AFter running  `emerge --sync' I see that emacs-cvs still shows
emacs-23.0..  And no update needed

When I run emacs command M-x version it shows emacs-23.0.60

I think there have been changes in the head of emacs-23 cvs.  So how
do I determine if I'm running the latest cvs?  

I used to build my own emacs-cvs and update from cvs as needed but
was told I ought to let gentoo handle that by installing emacs-cvs.
That emacs-cvs thru gentoo would accomplish the same thing but would
keep my OS up on what its running.

Now I want to know how closely portage emas-cvs follows the cvs tree.
Is it linked directly to it or is there some delay where gentoo does
whatever to the package?

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



Re: [gentoo-user] freepops plays up

2008-05-20 Thread Mick
On Tuesday 20 May 2008, Andrey Falko wrote:
 On Tue, May 20, 2008 at 9:26 AM, Mick [EMAIL PROTECTED] wrote:
  This is probably simple enough to resolve:
 
  I updated lua recently to:
 
  [D] dev-lang/lua
   Installed versions:  5.1.3-r1(08:44:37 05/19/08)
  (readline -deprecated -static)
 
  Meanwhile, I am running freepops-0.2.5.  Since lua was updated freepops
  keels over with a lookup error for lua:
  
   $ freepopsd -v -s michael.users
  Tue May 20 11:09:27 2008 freepopsd: INTERNAL: freepops started with
  loglevel 1 on a little endian machine.
  Tue May 20 11:09:27 2008 freepopsd: PID: Cannot create pid
  file /var/run/freepopsd.pid
  freepopsd: symbol lookup error: freepopsd: undefined symbol: luaL_openlib
  
 
  revdep-rebuild does not show anything.  Is it a bug?

 You tried re-emerging freepops, right? If it works after you re-emerge
 it, then there is bug with revdep-rebuild.
 You tried it, then you've hit some sort of bug with linking.

 So yes, its some sort of bug.

What do you know!  This portage thing is a rather intelligent piece of 
engineering ;-)

* checking freepops-0.2.5.tar.gz ;-) ... [ 
ok ]
 * This package uses the deprecated functions of lua
 * 
 * ERROR: net-mail/freepops-0.2.5 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called pkg_setup
 *   freepops-0.2.5.ebuild, line   26:  Called die
 * The specific snippet of code:
 *  die 'please compile dev-lang/lua with USE=deprecated'
 *  The die message:
 *   please compile dev-lang/lua with USE=deprecated


I'm off to re-emerge lua.

Thanks.
-- 
Regards,
Mick


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


Re: [gentoo-user] Apache2 + PHP5 problem

2008-05-20 Thread kashani

Mateusz A. Mierzwiński wrote:
Can anybody tell me what happend with PHP5 under (Linux athene 
2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must 
be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel 
GNU/Linux) Gentoo? My server runs with error (and white pages after 
accessing):


[Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal 
Segmentation fault (11)
[Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal 
Segmentation fault (11)
[Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal 
Segmentation fault (11)


After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache 
everything is OK but... without PHP. What's up. This is PHP build flags:


[ebuild   R   ] dev-lang/php-5.2.6_rc4  USE=apache2 berkdb bzip2 cgi 
cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc 
pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc 
threads unicode xml xmlreader xmlrpc xmlwriter zip zlib 


Is your Apache also built with threads? If it is not I would rebuild PHP 
without threads and try again.


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



[gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Mick
Hi All,

Just finished a mammoth KDE update session and upon firing up Kmail I noticed 
that the fields for To: , CC: and BCC: are flat white boxes, without the 
border on the top  left edges.  The Subject: field has kept its border.

Has something gone wrong with my emerge, or is this an intended change of the 
KDE decorations (or artwork, or whatever the responsible package is called).  
Do you get the same?

I attach a small snapshot as words may have failed me in describing it 
adequately above.
-- 
Regards,
Mick
attachment: no_field_border.png

Re: [gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Alan McKinnon
On Tuesday 20 May 2008, Mick wrote:
 Hi All,

 Just finished a mammoth KDE update session and upon firing up Kmail I
 noticed that the fields for To: , CC: and BCC: are flat white boxes,
 without the border on the top  left edges.  The Subject: field has
 kept its border.

 Has something gone wrong with my emerge, or is this an intended
 change of the KDE decorations (or artwork, or whatever the
 responsible package is called). Do you get the same?

 I attach a small snapshot as words may have failed me in describing
 it adequately above.

It appears to be an artifact of the current Keramik theme you are 
using - I get the same here, but Plastik theme does display correctly

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Are some-cvs items synced with actual cvs often?

2008-05-20 Thread Graham Murray
[EMAIL PROTECTED] writes:

 I think there have been changes in the head of emacs-23 cvs.  So how
 do I determine if I'm running the latest cvs?  

Run 'emerge emacs-cvs'. The ebuild will do a CVS update and then build
it.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Mick
On Tuesday 20 May 2008, Alan McKinnon wrote:

 It appears to be an artifact of the current Keramik theme you are
 using - I get the same here, but Plastik theme does display correctly

You mean you get the same when you set up your theme as Keramik, right?

Is this a bug?  Do I live with it until KDE-4 becomes stable?  It's amazing 
how silly little things bother us when get set in our ways.  ;-)

PS.  Just messed up my KDE Style now and all my fonts are small and blurry!  
Which file(s) should I restore from a back up to bring my theme/style back?
-- 
Regards,
Mick


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


Re: [gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Volker Armin Hemmann
On Dienstag, 20. Mai 2008, Mick wrote:
 On Tuesday 20 May 2008, Alan McKinnon wrote:
  It appears to be an artifact of the current Keramik theme you are
  using - I get the same here, but Plastik theme does display correctly

 You mean you get the same when you set up your theme as Keramik, right?

 Is this a bug?  Do I live with it until KDE-4 becomes stable?  It's amazing
 how silly little things bother us when get set in our ways.  ;-)

 PS.  Just messed up my KDE Style now and all my fonts are small and blurry!
 Which file(s) should I restore from a back up to bring my theme/style back?

none.
Just open kcontrol, 'appearance (I guess)', fonts.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Alan McKinnon
On Tuesday 20 May 2008, Mick wrote:
 On Tuesday 20 May 2008, Alan McKinnon wrote:
  It appears to be an artifact of the current Keramik theme you are
  using - I get the same here, but Plastik theme does display
  correctly

 You mean you get the same when you set up your theme as Keramik,
 right?

Yes that's right.

 Is this a bug?  Do I live with it until KDE-4 becomes stable?  It's
 amazing how silly little things bother us when get set in our ways. 
 ;-)

It doesn't appear to be a bug, it appears to be two different kinds of 
text-entry widgets. By coincidence, the difference seems most 
noticeable on styles that don't use rounded corners for text-entry 
boxes.

Phase and Keramik are very noticeable, Klearlooks and Plastik less so. 
Why two different text entry types? Well, To: and CC: have that 
text-completion feature, and Subject: doesn't.

I don't have a non-Gentoo machine handy to compare with though


 PS.  Just messed up my KDE Style now and all my fonts are small and
 blurry! Which file(s) should I restore from a back up to bring my
 theme/style back?

It'll be in ~.kde3.5/share/config I imagine, but I have no idea where. 
What I would do is run kcontrol, make some changes to the font 
settings, then run find on that dir looking for files with an mtime in 
the last 2 minutes

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] KDE-3.5.9 and Kmail

2008-05-20 Thread Mick
On Tuesday 20 May 2008, Alan McKinnon wrote:
 On Tuesday 20 May 2008, Mick wrote:
  On Tuesday 20 May 2008, Alan McKinnon wrote:
   It appears to be an artifact of the current Keramik theme you are
   using - I get the same here, but Plastik theme does display
   correctly
 
  You mean you get the same when you set up your theme as Keramik,
  right?

 Yes that's right.

  Is this a bug?  Do I live with it until KDE-4 becomes stable?  It's
  amazing how silly little things bother us when get set in our ways.
  ;-)

 It doesn't appear to be a bug, it appears to be two different kinds of
 text-entry widgets. By coincidence, the difference seems most
 noticeable on styles that don't use rounded corners for text-entry
 boxes.

 Phase and Keramik are very noticeable, Klearlooks and Plastik less so.
 Why two different text entry types? Well, To: and CC: have that
 text-completion feature, and Subject: doesn't.

Darkening the window background colour shows up the fields.  I guess it'll all 
be fixed by KDE-4.

  PS.  Just messed up my KDE Style now and all my fonts are small and
  blurry! Which file(s) should I restore from a back up to bring my
  theme/style back?

 It'll be in ~.kde3.5/share/config I imagine, but I have no idea where.
 What I would do is run kcontrol, make some changes to the font
 settings, then run find on that dir looking for files with an mtime in
 the last 2 minutes

I think I've got it back where I wanted it.  Only one, well two things.  The 
font of the Favorite Folders is in italics.  How do I straighten them up?  I 
can't see an appropriate category under the Fonts selection in the Theme 
Manager.

Finally, the header frame for signed messages is now collapsed until I click 
to on it say Show Details.  When expanded it shows No Audit Log available - 
what's that all about?  How can I keep it expanded?


Thanks for your answers.  :-)
-- 
Regards,
Mick


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


[gentoo-user] is grub in my mbr?

2008-05-20 Thread Allan Gottlieb
I believe that when I upgrade grub I am supposed to re-run it.

I would like to keep the same configuration I have know but am not
sure if I installed grub in the MBR (I dual boot windows since it is
often needed when calling Dell Support).

I believe that I do have grub in the mbr, but wish to confirm it so
executed an od to confirm.

Here is my disk layout (a one disk laptop)

ajglap ~ # fdisk -l

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0800

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   6   48163+  de  Dell Utility
/dev/sda2   *   71963157163527  HPFS/NTFS
/dev/sda319631975   98683+  83  Linux
/dev/sda41976   12161818190455  Extended
/dev/sda519762098  987966   82  Linux swap / Solaris
/dev/sda62099453119543041   83  Linux
/dev/sda74532599111727418+  83  Linux
/dev/sda85992842419543041   83  Linux
/dev/sda98425   1085719543041   83  Linux
ajglap ~ # 

Here is an od of the mbr

ajglap ~ # dd if=/dev/sda ibs=512 count=1 | od -c --address-radix=d
1+0 records in
1+0 records out
000 353   H 220 320 274  \0   | 216 300 216 330 276  \0   | 277  \0
016 006 271  \0 002 374 363 244   P   h 034 006 313 373 271 004  \0
032 275 276  \a 200   ~  \0  \0   |  \v 017 205 020 001 203 305 020
048 342 361 315 030 210   V  \0   U 306   F 021 005 306   F 003 002
512 bytes (512 B) copied, 1.8159e-05 s, 28.2 MB/s
064 377  \0  \0 001  \0  \0  \0  \0 002 372 220 220 366 302 200
080   u 002 262 200 352   Y   |  \0  \0   1 300 216 330 216 320 274
096  \0 373 240   @   |377   t 002 210 302   R 276 177   }
112 350   4 001 366 302 200   t   T 264   A 273 252   U 315 023   Z
128   R   r   I 201 373   U 252   u   C 240   A   | 204 300   u 005
144 203 341 001   t   7   f 213   L 020 276 005   | 306   D 377 001
160   f 213 036   D   | 307 004 020  \0 307   D 002 001  \0   f 211
176   \  \b 307   D 006  \0   p   f   1 300 211   D 004   f 211   D
192  \f 264   B 315 023   r 005 273  \0   p 353   } 264  \b 315 023
208   s  \n 366 302 200 017 204 352  \0 351 215  \0 276 005   | 306
224   D 377  \0   f   1 300 210 360   @   f 211   D 004   1 322 210
240 312 301 342 002 210 350 210 364   @ 211   D  \b   1 300 210 320
256 300 350 002   f 211 004   f 241   D   |   f   1 322   f 367   4
272 210   T  \n   f   1 322   f 367   t 004 210   T  \v 211   D  \f
288   ;   D  \b   }212   T  \r 300 342 006 212   L  \n 376 301
304  \b 321 212   l  \f   Z 212   t  \v 273  \0   p 216 303   1 333
320 270 001 002 315 023   r   * 214 303 216 006   H   |   ` 036 271
336  \0 001 216 333   1 366   1 377 374 363 245 037   a 377  B
352   | 276 205   } 350   @  \0 353 016 276 212   } 350   8  \0 353
368 006 276 224   } 350   0  \0 276 231   } 350   *  \0 353 376   G
384   R   U   B  \0   G   e   o   m  \0   H   a   r   d   D
400   i   s   k  \0   R   e   a   d  \0   E   r   r   o   r  \0
416 273 001  \0 264 016 315 020 254 \0   u 364 303  \0  \0  \0
432  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \b  \0  \0  \0 001
448 001  \0 336 376   ? 005   ?  \0  \0  \0   G   x 001  \0 200 036
464 031 006  \a 376 377 377  \0 200 001  \0  \0 240 337 001  \0 376
480 377 377 203 376 377 377  \0 341 001 367 002 003  \0  \0 376
496 377 377 005 376 377 377 367344 001   J 353 300  \t   U 252
512

Am I right that seeing `GRUB' in bytes 383-386 (decimal) is proof that
I did install grub in the MBR?

thanks,
allan

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



[gentoo-user] Hibernate / Suspend Problems on a Desktop

2008-05-20 Thread fire-eyes

Hello,

I just got a new Dell XPS 420 system. It has an Intel core 2 duo quad 
cpu. I wish to hibernate it to ram, though I'd be happy with any other 
form of hibernate/suspend-like behavior at this point.


I'm using vanilla kernel 2.6.25.4. I have all the various 
hibernate/suspend etc options turned on. I installed hibernate-script, 
installed vbetool and configured the .conf files for hibernate-script to 
use it.


Testing from console, no frame buffer, any of the actions (hibernate, 
hibernate-ram) bring the system down just fine, but when I power the 
system back up fully, I have no video signal. The system is fine 
otherwise, as I can blind-type reboot or halt and the system does so.


I remember fighting with this same issue on my IBM thinkpad laptop. I 
have compared configurations and don't really see any glaring 
differences. Other than the laptop having an ATI card, and this desktop 
having an Nvidia GeForce 9600.


The laptop has a single-core Intel CPU, but this desktop has a quad-core 
 Intel CPU. There is a specific option in the kernel to enable 
hibernate/suspend etc for SMP/multicore systems, and I have enabled that.


At this point I am at a loss, trying over and over again to get this 
working. Any tips would be much appreciated.


fire-eyes / Fieldy
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] is grub in my mbr?

2008-05-20 Thread Dirk Heinrichs
Am Mittwoch, 21. Mai 2008 schrieb ext Allan Gottlieb:

 I believe that when I upgrade grub I am supposed to re-run it.

Only if you want to upgrade your MBR too.

 Am I right that seeing `GRUB' in bytes 383-386 (decimal) is proof that
 I did install grub in the MBR?

At least it isn't LiLo ;-)

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


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