[gentoo-user] arpstar (arp spoofing protection) work arounds?

2008-07-20 Thread 7v5w7go9ub0o

Arpstar was out of commission as of kernel 2.6.24.x

Two separate, weeks old gento bugzilla reports describing the specifics 
have not yet even been acknowledged.


Given the importance of this program at hotspots, I'm guessing that 
laptop users are downloading and installing directly (as, for example, I 
am doing with the vidalia software) -  perhaps with a patch!?


Would  anyone using arpstar on a 2.6.24 or later kernel please post the 
secret?


Thanks in Advance!!





Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Dale

Ivan Alden wrote:

Hi,

My laptop ran out of battery and shut off while I was using it and it
seems to have done some damage to the bootloader. When I reboot I can't
see the grub splashscreen any more but if I press enter I does boot into
my kernel. As the computer is booting the output looks all messed up
(but you can make that its initializing devices) until it reaches around
the networking devices which then corrects and works properly.

I've tried reconfiguring grub with
root (hd0,0)
setup (hd0)

Does anybody have any suggestions of how to fix this?

Thanks.
  


This was discussed over the past day or so.  If I recall correctly the 
splash image has been moved by some package update.  Just check that 
everything your grub boot line points to is actually there.


If you need more info, I can search through my old emails and find the 
fixes for you.


Dale

:-)  :-)  :-) 



Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Mick
On Sunday 20 July 2008, Ivan Alden wrote:

 When I reboot I can't
 see the grub splashscreen any more but if I press enter I does boot into
 my kernel. As the computer is booting the output looks all messed up
 (but you can make that its initializing devices) until it reaches around
 the networking devices which then corrects and works properly.
...
 Does anybody have any suggestions of how to fix this?

Copy a grub splash image from /usr/share/grub/ or /usr/share/splashimages/ 
back into your /boot/grub/

The last grub upgrade has messed up your settings without asking you - 
unacceptable behaviour for an ebuild.
-- 
Regards,
Mick


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


Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-20 Thread Iain Buchanan
On Fri, 2008-07-18 at 04:19 -0700, jalves wrote:
 
 On Fri, Jul 11, 2008 at 07:48:38PM -0600, Joseph wrote:
  How hard is to install Gentoo from a USB stick? Is it officially supported 
  this type of installation?
  I can find instruction here and there; and some notes that is not an easy 
  task.
 
  The reason I'm asking is that I'm putting a new PC together and want to get 
  rid of CD all together. 
 
 Not hard!  I forget exactly what I did, but it was pretty easy
 to do.
 
 (I don't remember all the steps, but I can tell you after I get
  home if you still need to know).
 
 -Jeremy

You can install gentoo from anything that can boot the livecd (I
think).  I've written some instructions on how to get the livecd onto a
usb key - it's surprisingly simple.  I used it to install this laptop :)

see
http://nthrbldyblg.blogspot.com/2008/06/gentoo-linux-live-usb-key.html

I would appreciate any suggestions and improvements to the steps, if you
end up trying it.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The truth will set you free. Unless Chuck Norris has you, in which case,
forget it buddy! 




Re: [gentoo-user] Strange grub problem

2008-07-20 Thread KH

Ivan Alden schrieb:

Hi,

My laptop ran out of battery and shut off while I was using it and it
seems to have done some damage to the bootloader. When I reboot I can't
see the grub splashscreen any more but if I press enter I does boot into
my kernel. As the computer is booting the output looks all messed up
(but you can make that its initializing devices) until it reaches around
the networking devices which then corrects and works properly.

I've tried reconfiguring grub with
root (hd0,0)
setup (hd0)

Does anybody have any suggestions of how to fix this?

Thanks.


  
Maybe it is this grub splashimage problem. If so, see for grub emerge 
make boot screen and others unreadable in this mailing list.

If not, I am sorry, don't know an answer.

KH



Re: [gentoo-user] Grub on a new disk

2008-07-20 Thread Florian Philipp

Florian Philipp schrieb:

On Sun, 6 Jul 2008 10:08:29 +0100
Mick [EMAIL PROTECTED] wrote:
 

Just in case, you may want to try this:

# grub  --Also use --no-floppy if it hangs probing a floppy drive
that doesn't exist--
grub root (hd2,0)  --If your /boot drive is e.g. in /dev/hdd1)--
grub setup (hd0)  --This will re-install GRUB in the MBR
grub of /dev/hda-- quit

If this does not help then I am not sure what else might fix it.


I thought I had already done this but just to make sure, I've done it
again - no effect.

If there is really some kind to self-test going on, it's invisible to
smartctl. A short self-test showed no errors, either.

I'll look out for firmware updates for that disk and will buy a small
SD/MMC/CF-card for testing. Maybe I'll also ask the Grub-guys whether
they have any ideas.

Thanks anyway! At least I know it's not just me who is confused by this
behavior.


A small update: I moved grub to a floppy while keeping the kernel images 
on disk. This solved my problem. Grub's bootup is now only limited by 
floppy I/O-speed. I'll use a cheap CF-card as a more permanent replacement.




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Warning: locale not supported by Xlib, locale set to C

2008-07-20 Thread Miernik
Dirk Heinrichs [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] ~ $ locale
 LANG=en_DK.UTF-8
 [EMAIL PROTECTED] ~ $ locale -a
 en_DK.utf8
 
 And you don't see the difference?

But...

przehyba ~ # cat /usr/share/i18n/SUPPORTED | grep en | grep DK
en_DK.UTF-8 UTF-8
en_DK ISO-8859-1
przehyba ~ #

So why 'locale -a' tells me that the available locale has utf8 at the
end, while the file in /usr/share/i18n/ tells me its capital leters
UTF-8? And all documentation I can remember tells me to use .UTF-8,
I've never in my life seen .utf8 before, I use locales with .UTF-8
ending on Debian since ages, why here is this strange lowercase utf8
in one place, and how did it happen to get there?

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6
tells to use capital UTF-8

http://www.gentoo.org/doc/en/utf-8.xml
shows that 'locale -a' should output capital UTF-8

However I still don't know how to solve the problem, I changed the text
in /etc/env.d/02locale to en_DK.utf8, then run
env-update  source /etc/profile
and rebooted the machine after that just to be sure, but that didn't fix
the problem - UTF-8 files don't work when 'cat', and starting an xterm
still shows Warning: locale not supported by Xlib, locale set to C.
Only now locale command shows the lowercase version.

I did read the above URL's, and
http://www.gentoo.org/doc/en/guide-localization.xml
and I am out of ideas. What a mess... and I didn't ever before anywhere
enter .utf8 ending in the locale while installing this system, nor in
my life, so it's not me who messed it up! I did how all the manuals
showed - uppercase .UTF-8

Is there any hope for me, or should I reinstall Gentoo from scratch,
to a blank disk, and pray that my locales will work after that? However
I'm sceptical that will produce any different result than I have,
because I'll probably do everything exactly as I did now.

-- 
Miernik
http://miernik.name/




Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Ivan Alden
Thanks its fixed. I guess it was coincidence I lost power at the same
time to this issue. I appreciate the help.

Ivan

On Sun, 2008-07-20 at 01:24 -0500, Dale wrote:
 Ivan Alden wrote:
  Hi,
 
  My laptop ran out of battery and shut off while I was using it and it
  seems to have done some damage to the bootloader. When I reboot I can't
  see the grub splashscreen any more but if I press enter I does boot into
  my kernel. As the computer is booting the output looks all messed up
  (but you can make that its initializing devices) until it reaches around
  the networking devices which then corrects and works properly.
 
  I've tried reconfiguring grub with
  root (hd0,0)
  setup (hd0)
 
  Does anybody have any suggestions of how to fix this?
 
  Thanks.

 
 This was discussed over the past day or so.  If I recall correctly the 
 splash image has been moved by some package update.  Just check that 
 everything your grub boot line points to is actually there.
 
 If you need more info, I can search through my old emails and find the 
 fixes for you.
 
 Dale
 
 :-)  :-)  :-) 
 




Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Wolf Canis
Ivan Alden wrote:
 Hi,
 
 My laptop ran out of battery and shut off while I was using it and it
 seems to have done some damage to the bootloader. When I reboot I can't
 see the grub splashscreen any more but if I press enter I does boot into
 my kernel. As the computer is booting the output looks all messed up
 (but you can make that its initializing devices) until it reaches around
 the networking devices which then corrects and works properly.
 
 I've tried reconfiguring grub with
 root (hd0,0)
 setup (hd0)
 
 Does anybody have any suggestions of how to fix this?
 
 Thanks.

Hello Ivan,
I had just yesterday exactly the same problem, not because my laptop
runs out of battery, but because of full system update. I do it only
once a week. Anyway.

I could fix it in the following way:
- Switch off your laptop and wait some seconds.
- Start your laptop
- Boot your kernel, you have to imaging on which position in the
  boot menu this one is
- after the machine is up and running
- emerge -av grub
- reboot and it should be fine

That's it.

Hope I could help

W. Canis



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Dale

Ivan Alden wrote:

Thanks its fixed. I guess it was coincidence I lost power at the same
time to this issue. I appreciate the help.

Ivan

On Sun, 2008-07-20 at 01:24 -0500, Dale wrote:
  

Ivan Alden wrote:


Hi,

My laptop ran out of battery and shut off while I was using it and it
seems to have done some damage to the bootloader. When I reboot I can't
see the grub splashscreen any more but if I press enter I does boot into
my kernel. As the computer is booting the output looks all messed up
(but you can make that its initializing devices) until it reaches around
the networking devices which then corrects and works properly.

I've tried reconfiguring grub with
root (hd0,0)
setup (hd0)

Does anybody have any suggestions of how to fix this?

Thanks.
  
  
This was discussed over the past day or so.  If I recall correctly the 
splash image has been moved by some package update.  Just check that 
everything your grub boot line points to is actually there.


If you need more info, I can search through my old emails and find the 
fixes for you.


Dale

:-)  :-)  :-) 



Your welcome.  Just a normal reboot would have helped that issue come 
out of the dark too.  You are not alone in having that happen.


Glad you got it sorted.

Dale

:-)  :-) 



Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Wolf Canis
Oh sorry,

_very_ _important_ :

Mount your boot partition _before_ you emerge grub.

W. Canis




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Installation: help me set up my keyboard, please.

2008-07-20 Thread Iain Buchanan
On Fri, 2008-07-18 at 23:39 +0200, Sebastian Günther wrote:

 Maybe you have just what the Germans call Ein Brett vorm Kopf

Brett is a worm head?  What have you got against Brett?

;)
-- 
Iain Buchanan iaindb at netspace dot net dot au

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht




[gentoo-user] .config/audacious/config is getting big!

2008-07-20 Thread KH

Hi,

I was wandering what is taking away my hdd space. Now I found:

du -h .config/audacious/config
160G.config/audacious/config

What is this file good for? I don't think a config file should be that 
big. Can I delete it without trouble?


KH



Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Mick
On Sunday 20 July 2008, Wolf Canis wrote:
 Oh sorry,

 _very_ _important_ :

 Mount your boot partition _before_ you emerge grub.

I believe that the grub ebuild mounts it for you, messes up your grub.conf and 
carries on with its business . . .
-- 
Regards,
Mick


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


Re: [gentoo-user] .config/audacious/config is getting big!

2008-07-20 Thread Justin

KH schrieb:

Hi,

I was wandering what is taking away my hdd space. Now I found:

du -h .config/audacious/config
160G.config/audacious/config

What is this file good for? I don't think a config file should be that 
big. Can I delete it without trouble?


KH


What's writen in the file? mine is 4k and contains standard config stuff.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] .config/audacious/config is getting big!

2008-07-20 Thread KH

Justin schrieb:

KH schrieb:

Hi,

I was wandering what is taking away my hdd space. Now I found:

du -h .config/audacious/config
160G.config/audacious/config

What is this file good for? I don't think a config file should be 
that big. Can I delete it without trouble?


KH


What's writen in the file? mine is 4k and contains standard config stuff.


Hi,

the beginning is doesn't look to bad than it seems to repeat:

soft_volume=FALSE
volume_left=100
period_time=100
pcm_device=default
mixer_card=0
mixer_device=PCM


just for ever. Could someone mail a normal config to replace mine?

KH



Re: [gentoo-user] .config/audacious/config is getting big!

2008-07-20 Thread Justin




just for ever. Could someone mail a normal config to replace mine?

KH



[sndstretch]
volume_corr=FALSE
short_overlap=FALSE
speed=1.69349
pitch=0.775572
[echo_plugin]
enable_surround=FALSE
volume=50
feedback=50
delay=500
[statusicon]
ew_visib_prevstatus=FALSE
pw_visib_prevstatus=TRUE
mw_visib_prevstatus=TRUE
scroll_action=0
rclick_menu=0
[CDDA]
cddbhttp=FALSE
debug=FALSE
cddbport=0
cddbserver=freedb.org
use_cddb=TRUE
use_cdtext=TRUE
limitspeed=1
[rootvis2]
data_fps=30
data_linearity=0.33
data_div=4
data_cutoff=180
peak_shadow=0
peak_color=#ff88
peak_step=5
peak_falloff=4
peak_enabled=1
bar_shadow_color=#0066
bar_bevel_color=#00ff00ff
bar_color_4=#e6ff6422
bar_color_3=#e6ff6433
bar_color_2=#e6ff6455
bar_color_1=#e6ff6466
bar_gradient=1
bar_bevel=0
bar_shadow=0
bar_falloff=5
bar_width=8
geometry_space=2
geometry_height=40
geometry_orientation=1
geometry_posy=52
geometry_posx=520
[rootvis]
data_fps=30
data_linearity=0.33
data_div=4
data_cutoff=180
peak_shadow=0
peak_color=#ffdd
peak_step=5
peak_falloff=4
peak_enabled=1
bar_shadow_color=#0066
bar_bevel_color=#00ff00ff
bar_color_4=#a3c422ff
bar_color_3=#b8dd27ff
bar_color_2=#cdf62bff
bar_color_1=#e6ff64ff
bar_gradient=1
bar_bevel=0
bar_shadow=1
bar_falloff=5
bar_width=8
geometry_space=1
geometry_height=50
geometry_orientation=0
geometry_posy=1
geometry_posx=520
stereo=1
debug=0
[audacious]
enabled_gplugins=statusicon.so
remember_jtf_entry=TRUE
url_history_length=0
filesel_path=/home/justin/mnt/music
output_plugin=/usr/lib/audacious/Output/ALSA.so
skin=/usr/share/audacious/Skins/Default
equalizer_band9=-2.4
equalizer_band8=0
equalizer_band7=0
equalizer_band6=0
equalizer_band5=0
equalizer_band4=0
equalizer_band3=0
equalizer_band2=0
equalizer_band1=0
equalizer_band0=0
equalizer_preamp=0
cover_name_exclude=back
generic_title_format=${?artist:${artist} - }${?album:${album} - }${title}
eqpreset_extension=preset
eqpreset_default_file=dir_default.preset
mainwin_font=Sans Bold 9
playlist_font=Sans Bold 8
mainwin_use_xfont=FALSE
colorize_b=255
colorize_g=255
colorize_r=255
filepopup_delay=20
filepopup_pixelsize=150
recurse_for_cover_depth=0
output_buffer_size=750
resume_playback_on_startup_time=-1
titlestring_preset=2
scroll_pl_by=3
mouse_wheel_change=8
pause_between_songs_time=2
snap_distance=10
equalizer_y=141
equalizer_x=1105
playlist_position=202
playlist_height=551
playlist_width=300
playlist_y=25
playlist_x=1380
peaks_falloff=1
analyzer_falloff=3
vis_refresh_rate=0
voiceprint_mode=2
vu_mode=1
scope_mode=0
analyzer_type=1
analyzer_mode=0
vis_type=2
timer_mode=0
player_y=25
player_x=1105
warn_about_broken_gtk_engines=TRUE
software_volume_control=FALSE
twoway_scroll=TRUE
close_jtf_dialog=TRUE
filepopup_showprogressbar=TRUE
use_extension_probing=TRUE
use_xmms_style_fileselector=FALSE
use_file_cover=FALSE
recurse_for_cover=FALSE
show_filepopup_for_tuple=TRUE
playlist_detect=TRUE
resume_playback_on_startup=FALSE
close_dialog_add=TRUE
close_dialog_open=TRUE
custom_cursors=TRUE
analyzer_peaks=TRUE
eq_extra_filtering=TRUE
show_wm_decorations=FALSE
pause_between_songs=FALSE
random_skin_on_play=FALSE
sticky=FALSE
always_on_top=FALSE
use_eplugins=FALSE
easy_move=FALSE
equalizer_autoload=FALSE
equalizer_shaded=FALSE
equalizer_active=FALSE
equalizer_visible=FALSE
use_fontsets=FALSE
playlist_visible=TRUE
playlist_shaded=FALSE
stop_after_current_song=FALSE
autoscroll_songname=TRUE
doublesize=FALSE
repeat=FALSE
shuffle=TRUE
player_visible=TRUE
player_shaded=FALSE
use_backslash_as_dir_delimiter=FALSE
warn_about_win_visibility=FALSE
use_pl_metadata=TRUE
sort_jump_to_file=FALSE
refresh_file_list=TRUE
no_playlist_advance=FALSE
eq_doublesize_linked=TRUE
get_info_on_demand=TRUE
get_info_on_load=FALSE
dim_titlebar=TRUE
save_window_positions=TRUE
snap_windows=TRUE
show_separator_in_pl=TRUE
show_numbers_in_pl=TRUE
convert_slash=TRUE
convert_twenty=TRUE
convert_underscore=TRUE
always_show_cb=TRUE
use_realtime=FALSE
allow_multiple_instances=FALSE
enable_src=FALSE
[ALSA]
buffer_time=500
period_time=100
pcm_device=default
mixer_card=0
mixer_device=PCM
volume_left=100
volume_right=100
[AudioCompress]
anticlip=FALSE
target=0
gainmax=0
gainsmooth=0
buckets=0


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [solved] .config/audacious/config is getting big!

2008-07-20 Thread KH

Justin schrieb:




just for ever. Could someone mail a normal config to replace mine?

KH




Thanks. It's OK now.

KH



[gentoo-user] Re: [solved] .config/audacious/config is getting big!

2008-07-20 Thread Nikos Chantziaras

KH wrote:

Justin schrieb:




just for ever. Could someone mail a normal config to replace mine?

KH




Thanks. It's OK now.


I recommend doing a full fsck at this point.  The problem might have 
been due to a filesystem error rather than application bug or user 
error.  If you have a separate partition for home:


  touch /home/forcefsck

if you don't have /home on its own partition:

  touch /forcefsck

and reboot.  Better safe than sorry ;)




Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Pintér Tibor

same here with the latest grub update on x86.
setting the console font restores normal operation during the boot process.

t

Ivan Alden wrote:

Hi,

My laptop ran out of battery and shut off while I was using it and it
seems to have done some damage to the bootloader. When I reboot I can't
see the grub splashscreen any more but if I press enter I does boot into
my kernel. As the computer is booting the output looks all messed up
(but you can make that its initializing devices) until it reaches around
the networking devices which then corrects and works properly.

I've tried reconfiguring grub with
root (hd0,0)
setup (hd0)

Does anybody have any suggestions of how to fix this?

Thanks.






Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Wolf Canis
Mick wrote:
 On Sunday 20 July 2008, Wolf Canis wrote:
 Oh sorry,

 _very_ _important_ :

 Mount your boot partition _before_ you emerge grub.
 
 I believe that the grub ebuild mounts it for you, messes up your grub.conf 
 and 
 carries on with its business . . .

So far I that now, is that now changed. You have to mount it before
you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:

-- Quote begin -
pkg_postinst() {
if [[ -n ${DONT_MOUNT_BOOT} ]]; then
elog WARNING: you have DONT_MOUNT_BOOT in effect, so you must
apply
elog the following instructions for your /boot!
elog Neglecting to do so may cause your system to fail to boot!
elog
else
setup_boot_dir ${ROOT}/boot
# Trailing output because if this is run from pkg_postinst, it
gets mixed into
# the other output.
einfo 
fi
elog To interactively install grub files to another device such as
a USB
elog stick, just run the following and specify the directory as
prompted:
elogemerge --config =${PF}
elog Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use
to tell
elog grub where to install in a non-interactive way.

}

-- Quote end --

W. Canis



signature.asc
Description: OpenPGP digital signature


[gentoo-user] emacs and asian languages

2008-07-20 Thread David Relson
I'm using emacs.22.1 and it's having trouble displaying asian
languages, specifically chinese and korean.

From the menus, using Options//Mule//ShowMultiLingualText, displays
Japanese correctly but shows boxes for Chinese and Korean characters.

Similarly, I've got a HelloWorld.java program that displays Hello
World in English, Chinese, Japanese, and Korean. This file displays
perfectly using Eclipse.  Emacs displays the japanese characters
without any problem.  4 of the 5 chinese characters are displayed
properly, with the 5th showing as a box.  All 8 korean characters show
up as boxes.  

FWIW, the strings show up properly in my mail reader (Claws-Mail).  The
strings are:

zh: 
ja: _
ko:  __

Can anybody identfy what's wrong and point me toward a solution?

Thanks.

David



Re: [gentoo-user] Re: Warning: locale not supported by Xlib, locale set to C

2008-07-20 Thread Dirk Heinrichs
Am Sonntag, 20. Juli 2008 schrieb Miernik:
 Dirk Heinrichs [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED] ~ $ locale
  LANG=en_DK.UTF-8
  [EMAIL PROTECTED] ~ $ locale -a
  en_DK.utf8
 
  And you don't see the difference?

 But...

 przehyba ~ # cat /usr/share/i18n/SUPPORTED | grep en | grep DK
 en_DK.UTF-8 UTF-8
 en_DK ISO-8859-1
 przehyba ~ #

 So why 'locale -a' tells me that the available locale has utf8 at the
 end, while the file in /usr/share/i18n/ tells me its capital leters
 UTF-8? And all documentation I can remember tells me to use .UTF-8,
 I've never in my life seen .utf8 before, I use locales with .UTF-8
 ending on Debian since ages, why here is this strange lowercase utf8
 in one place, and how did it happen to get there?

OK, you're right. A little bit of further reading (German Gentoo UTF8 Howto) 
revealed that they should both be equivalent.

 UTF-8 files don't work when 'cat'

Are you sure these files are really utf8 files? What does the file command 
tell you about those files. Maybe you need to run iconv on them, first.

 , and starting an xterm 
 still shows Warning: locale not supported by Xlib, locale set to C.
 Only now locale command shows the lowercase version.

This is a different thing, look at 
http://bugs.gentoo.org/show_bug.cgi?id=90972

HTH...

Dirk


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


Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Mick
On Sunday 20 July 2008, Wolf Canis wrote:
 Mick wrote:
  On Sunday 20 July 2008, Wolf Canis wrote:
  Oh sorry,
 
  _very_ _important_ :
 
  Mount your boot partition _before_ you emerge grub.
 
  I believe that the grub ebuild mounts it for you, messes up your
  grub.conf and carries on with its business . . .

 So far I that now, is that now changed. You have to mount it before
 you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:

Good!  That's the preferred behaviour.  It shouldn't really mess things up 
without asking.
-- 
Regards,
Mick


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


[gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Jarry

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

 Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Wolf Canis
Mick wrote:
 On Sunday 20 July 2008, Wolf Canis wrote:
 Mick wrote:
 On Sunday 20 July 2008, Wolf Canis wrote:
 Oh sorry,

 _very_ _important_ :

 Mount your boot partition _before_ you emerge grub.
 I believe that the grub ebuild mounts it for you, messes up your
 grub.conf and carries on with its business . . .
 So far I that now, is that now changed. You have to mount it before
 you emerge grub. The following is from the ebuild grub-0.97-r6.ebuild:
 
 Good!  That's the preferred behaviour.  It shouldn't really mess things up 
 without asking.

Yeh, you are right, but that seems not always to be true. :-(




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Alan Mackenzie
Hi, Nikos!

On Sun, Jul 20, 2008 at 12:29:19AM +0300, Nikos Chantziaras wrote:
 Alan Mackenzie wrote:
 The default in new kernels is to only use /dev/sd*.

 I'm totally confused.  Doesn't sd* mean SCSI disk drive?  When I was
 installing Gentoo from the CD, I had to mount my main hard drive as
 /dev/sdb5.  When I built my own kernel, it needed /dev/hdh5.

 This seems crazy.  Is it documented anywhere in Gentoo?

 Not sure.  But if you have /dev/hd* instead of /dev/sd*, it means you 
 configured your kernel with the legacy IDE drivers instead of the new 
 (P)ATA drivers.  The new drivers use /dev/sd* (for IDE/PATA/SATA and 
 SCSI alike; there's no difference anymore.)

This was indeed the case.

 The CD/DVD-ROM can show up as /dev/sd* even with the old legacy drivers 
 if you have enable SCSI Emulation for it.

 In any event, try to build a new kernel using the new drivers.  The old 
 legacy driver you're using will probably get declared deprecated at 
 some point (if it didn't happen already).

[ Detailed instructions snipped - but they were appreciated and followed
:-]

Did this.  It mapped my two hard drives (previously /dev/hd[gh]) to
/dev/sd[ab], and created /dev/sda, dev/sda1, .  So far, so good.

However, it hadn't created /dev/sda16 or /dev/sda17 for some reason.  A
quick # ls -l /dev/sd{a15,b} gives:

... 8, 15  /dev/sda15
... 8, 16  /dev/sdb

In a philosophical mood, one might say that the new unified,
enhanced, better IDE support is inadequate for my setup.  What I
actually said, I'm not going to repeat in a public mailing list.

So the kernel guys have decided that nobody would ever want more than 15
partitions on a drive.  It's a bit like the old MS-DOS restriction to 512
MB all over again.  Hey, guys, hard drives nowadays are like 200 gig, not
512meg.  What's so wrong about having partitions with sizes 1Gb, 2Gb, 4Gb,
with maybe 100Mb for a boot partition?

Generic ATA support

 unless you can't find a native driver for your chipset (I doubt you have 
 some extremely rare/exotic mainboard ;)

The HPT370A UDMA100 chip (with my two hard drives) was no problem.  For
the VIA VT82C586A/B/VT82C686/A/B/VT823x/A/C ordinary IDE chip (the one
with my two DVD drives attached), I tried configuring VIA, which
didn't work.  Then I rebuilt the kernel again with Generic ATA
support, which didn't work either.

Both of these created /dev/sdc and /dev/sdc1, but no /dev/sdd.  When I
tried # mount -t iso9660 /dev/sdc /cdrom, I got the something's gone
wrong, but we're not telling you what error message.  Trying to mount
/dev/sdc1 gave exactly the same result.  Actually, thinking about it,
this was probably my USB stick it was trying to access.

Nikos, do you happen to know the appropriate kernel mailing list where I
could express the opinion that restricting the number of partitions on a
drive to 15 isn't a good tradeoff?

All in all, I really amn't impressed with this modern drive support.
Besides quartering the max number of partitions on a drive, it confuses
IDE and SCSI drives, thus confusing me, too.  Previously, when I
attached devices to the IDE1 socket, I knew they would appear at
/dev/hd[cd].  Now, it would seem, the kernel assigns drives at random to
/dev/sd[abcd...], so you can only determine by experiment which devices
are at which device.  Nothing personal, Nikos.  ;-)

I think I need to go back to the traditional IDE handling.

None of the Gentoo kernels I've built have even seen my two DVD drives,
yet.  I'll get there, somehow.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] 2.6.26, rtc problem

2008-07-20 Thread Andrew Gaydenko
=== On Saturday 19 July 2008, Andrew Gaydenko wrote: ===
..
 At first, I frustrated with situation when I can not manage such things
 :-) Then, I don't understand the reason of the problem. And yet don't
 know is rtc_cmos the most appropriate choice.


In accordance with http://bugs.gentoo.org/show_bug.cgi?id=232343 - will 
anybody be so kind to attach (or send using direct emailing)
~amd64/x86_64/gentoo-sources-2.6.26 .config file with the CONFIG_GEN_RTC 
set? I have not found this flag in menuconfig - probably there are some 
dependencies I can not recognize.


Andrew



Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Eric Martin

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd you 
start from, only that you get started.  For that matter (as people 
always say) you can boot off of knoppix or the lfs (linux from scratch) 
disk.  The only thing the cd does for you is provide a working linux 
environment that you can chroot from to install gentoo.


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Curious ping problem with no FW

2008-07-20 Thread Mick
On Monday 14 July 2008, Harry Putnam wrote:
 I've had a problem with being able to ping out to the internet from my
 gentoo box, while at the same time I'm able to ping outbound from
 several windows boxes on same home lan.

 I don't run a firewall at all from linux but do have a Netgear
 switch/router/Firewall upstream between me and the internet cable
 modem.
[snip..]

 My router/fw can be set to deny specific machines outbound traffic but
 that is not done in this case.  So the solution must reside somewhere
 in my gentoo install.

It may be worth checking your router's firewall rules once more.  Is the 
gentoo box connected to the router in the same fashion as the MSWindows 
boxen, or is it in some funny DMZ set up?

What do the firewall logs show?

 What things should I be checking.

If as you say you have no firewall on the Gentoo box then you ought to have a 
quick look at your kernel.  Use sysclt:

/sbin/sysctl -a

and look at your settings probably for net.ipv4.icmp_* or your specific NIC.

 A ping attempt like this:

   ping ftp.ucsb.edu
   PING ftp.ucsb.edu (128.111.24.43) 56(84) bytes of data.

 Just never moves any further, but you can see it has resolved the
 alpha address to numeric forum so must have contacted and received
 info from the nameserver.

Or from your router if it acts as a caching DNS resolver?

Unless you have configured your Gentoo kernel in a way that I am not sure is 
possible, my money would go on something being amiss with the router firewall 
settings.
-- 
Regards,
Mick


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


Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Dale

Eric Martin wrote:

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd 
you start from, only that you get started.  For that matter (as people 
always say) you can boot off of knoppix or the lfs (linux from 
scratch) disk.  The only thing the cd does for you is provide a 
working linux environment that you can chroot from to install gentoo.




Of course, make sure you get the tarballs off the internet if you use a 
CD that old.  If you use the tarballs off the CD, you will have a lot of 
upgrades to do and it could be . . . messy. 

Other than that, it doesn't matter what CD you use as Eric said.  I 
wonder of it could be done from the Mandrake install CD?  It is bootable 
and gives a command line.  LOL



Dale

:-)  :-)



Re: [gentoo-user] Good Library Management software

2008-07-20 Thread kashani

Dirk Uys wrote:

Other than that there is also the added complexity to the
installation. You have to create a user in the database, create the
database and grant the user all the needed permission to that specific
database.

And what if one app prefers mySQL and another one postgreSQL? Now I
need to run two database servers that will be quite capable to fill
the data needs of two small businesses just because I want to use a
music player and a library utility for my ~50 books laying around.


	I can see your point and in many ways I agree. The issue is that local 
data storage limits the application in larger environments. A db 
provides a ready made and easily understandable way for multiple 
machines to read and write data. Being a large IT shop person I tend to 
avoid anything that does not use a db since it's unlikely that I will be 
able to use it at a job in the future. Nothing worse than having www07 
go down and take the company blog with it because we couldn't run the 
blog software on all ten machines because it had to use local storage. 
Additionally it's easier to backup one db cluster than twenty odd 
applications.


I can recommend a few things to make dealing with a db easier.

1. Settle on Mysql, 99% of anything you'll install can use it.
2. However apps that can use more than one database backened are 
*always* better written, more mature, and is usually a sign that the 
schema has been designed rather than tossing data in tables.
3. Don't mess with my.cnf unless you really need to. Default Mysql 
serving settings spec about 100MB of RAM usage which should be plenty 
for local apps with small storage needs.
4. Spend an hour learning about how your db works and come up with a 
system for user accounts and database names.


I always do something like this in Mysql:
create database kash_gallery2;
grant all privileges on kash_gallery2.* to [EMAIL PROTECTED] 
identified by 'mys3cr3tp2ss';


This way I know that only the kash_gallery2 user can access the 
kash_gallery2 db. I also know that kash_gallery2 is my Gallery install 
and not someone else's. I can easily add kash_gallery3 when a new 
version comes out and don't have to worry about how to deal with db 
'gallery' which I think is the default. You'll have to change the 
settings in the config file of the app to reflect your changes, but that 
should be simple.


kashani



Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Jarry

Dale wrote:

Eric Martin wrote:

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd 
you start from, only that you get started.  For that matter (as people 
always say) you can boot off of knoppix or the lfs (linux from 
scratch) disk.  The only thing the cd does for you is provide a 
working linux environment that you can chroot from to install gentoo.




Of course, make sure you get the tarballs off the internet if you use a 
CD that old.  If you use the tarballs off the CD, you will have a lot of 
upgrades to do and it could be . . . messy.
Other than that, it doesn't matter what CD you use as Eric said.  I 
wonder of it could be done from the Mandrake install CD?  It is bootable 
and gives a command line.  LOL


I'll try it, but I have to download 2007 image again (I already wiped
it out of my hard disk). Anyway, I would really like to know, what does
that messsage mean...

I switched to shell and checked /proc/partitions: it correctly shows
all partitions on sda and sdb. So my hard-drives are detected. Where
is the problem then???

Jarry


--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Justin

Jarry schrieb:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

 Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

There was bug fix release for amd64. See gentoo.org the first news for 
more info. Perhaps this is for you.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] proper subject lines

2008-07-20 Thread Mick
On Monday 14 July 2008, Willie Wong wrote:
 On Mon, Jul 14, 2008 at 07:11:05PM +0200, Penguin Lover Alan McKinnon 
squawked:
  On Sunday 13 July 2008, Mick wrote:
   Anyway, as others asked - how long is too long for this purpose?
 
  for obvious reasons, anything longer than 80 characters

 Just to be pedantic:

 Remember that the mailing list prepends the list name, so I think it
 ought to be

 80 - strlen([gentoo-user] ) = 66 chars.

 And if you care about most console mail readers, take mutt for
 example, the default install definitely does not use more than half of
 the 80 chars screen width for displaying the subject line. So now you
 are down to 40 - 14 = 26.

 Oh wait, your question may incite a big discussion with 6 levels of
 replies:

 26 - 6 * strlen(Re: ) = 2.

 Ah! I see why someone changed the subject of this thread to just OK.

 ;-)

Apologies, I was being facetious (I corrected the Subject field back to the 
original on this reply).  There is indeed a need to write meaningful Subject 
lines and keep them as short as possible.  However, the 80 characters that 
Alan suggested may be appropriate for the body of the message, but not for 
the Subject line which is  invariably shorter.

I think that as long as common sense prevails we should be able to nail this 
one to most participants satisfaction.

PS. On the other hand one would think that common sense ought to also help to 
avoid top posting and html messages /sigh
-- 
Regards,
Mick


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


Re: [gentoo-user] Uwe Thiem

2008-07-20 Thread Mick
On Wednesday 16 July 2008, Steven Lembark wrote:
Uwe Thiem [Gentoo User 080119] : He hit the nail on the finger.

 Suggest adding that to fortune.

The least we could do in his memory.  May he rest in peace.
-- 
Regards,
Mick


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


Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Jarry

Justin wrote:


 Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


There was bug fix release for amd64. See gentoo.org the first news for 
more info. Perhaps this is for you.


I checked it, but I do not think that bug has something to do with
my problem. That bug (#230998) is a problem of live-cd, and I'm using
minimal install cd.

Besides, there is no updated install-cd, only live-cd. But I'll try
to download 2008.0-r1 live-cd, and install with it.
Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Justin

Jarry schrieb:

Justin wrote:


 Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


There was bug fix release for amd64. See gentoo.org the first news 
for more info. Perhaps this is for you.


I checked it, but I do not think that bug has something to do with
my problem. That bug (#230998) is a problem of live-cd, and I'm using
minimal install cd.

Besides, there is no updated install-cd, only live-cd. But I'll try
to download 2008.0-r1 live-cd, and install with it.
Jarry

Hey, you are right. YOu can use the livecd like a minimal CD by adding 
noX to the boot cmdline.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Mick
On Sunday 20 July 2008, Alan Mackenzie wrote:

 So the kernel guys have decided that nobody would ever want more than 15
 partitions on a drive.  

From memory I recall that this has always been the limit for SATA/SCSI drives.  
For ATA drives I think it is 63?

Not sure if this is a Linux OS kernel restriction - what is the maximum number 
that MSWindows see?  I would think it is the same.
-- 
Regards,
Mick


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


[gentoo-user] boost, vte, gnumeric get stuck in python-updater

2008-07-20 Thread Grant
On the two systems I've updated to python-2.5, boost, vte, and
gnumeric appear as python-updater emerges no matter how many times I
emerge them.  Does anyone know why this happens?

- Grant



Re: [gentoo-user] Ethernet Bridging

2008-07-20 Thread Jason Carson
 I am following this guide to setup my wireless access point.

 http://gentoo-wiki.com/Wireless/Access_point#Bridging_the_wired_.26_wireless_segments

 I have my network up and running with WPA.

 When I configured my kernel to use bridging (compiled into the kernel,
 not
 as a module) and rebooted I got a kernel panic, It was a whole screen
 full
 of stuff.

 Here is some of it I manually typed out...

 Oops: 0002 [#1]
 Modules linked in: wlan_scan_ap ath_rate_sample ath_pci wlan ath_hal(P)
 Pid: 4033, comm:runscript.sh Tainted: P (2.6.24.7 #3)
 EIP: 0060: stuff
 EIP is at ieee80211_add country+0x8f/0xd0 [wlan]
 Stack: Bunch of numbers
 Call Trace: bunch of stuff
 Code: numbers and letters.
 kernel panic - not syncing: Fatal exception in interrupt.

 Anyone know what to do?

 This kernel panic happened while loading ath0 on startup.

ok,I installed a newer kernel (2.6.25.9) and the problem went away.





Re: [gentoo-user] boost, vte, gnumeric get stuck in python-updater

2008-07-20 Thread Dale

Grant wrote:

On the two systems I've updated to python-2.5, boost, vte, and
gnumeric appear as python-updater emerges no matter how many times I
emerge them.  Does anyone know why this happens?

- Grant


  


I'm not sure if this is related but may be worth a try.  Quoted from 
another email:


Just make an 
# emerge -1 setuptools

and python-updater will run smoothly

If you are using gnome, also
# emerge -1 gnome-doc-utils

I hit the same bugs yesterday.

The second one is because python-updater seems to miss it and you would 
get a snadbox violation.


HTH
Sebastian


Hope that helps.

Dale

:-)  :-) 



[gentoo-user] tor servers being throttled?

2008-07-20 Thread Mick
Hi All,

I am trying to find out if the pedestrian download speeds that I have been 
getting over the last couple of months when using tor and privoxy are related 
to my UK ISP DSLMax throttling, or if it is something you have observed too.

Tor was usually slower than direct browsing, but the last few times I have 
tried using I can hardly get more than say 1.5kbps.

Is there a way of troubleshooting this to see where the throttling occurs?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Neil Bothwick
On Sun, 20 Jul 2008 15:05:10 +, Alan Mackenzie wrote:

 So the kernel guys have decided that nobody would ever want more than 15
 partitions on a drive.  It's a bit like the old MS-DOS restriction to
 512 MB all over again.  Hey, guys, hard drives nowadays are like 200
 gig, not 512meg.  What's so wrong about having partitions with sizes
 1Gb, 2Gb, 4Gb, with maybe 100Mb for a boot partition?

Nothing, which is why the kernel includes LVM, allowing you to have many
more filesystems on a disk.


-- 
Neil Bothwick

c:Press Enter to Exit


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Alan Mackenzie
Hi, Mick,

On Sun, Jul 20, 2008 at 06:22:23PM +0100, Mick wrote:
 On Sunday 20 July 2008, Alan Mackenzie wrote:

  So the kernel guys have decided that nobody would ever want more than 15
  partitions on a drive.  

 From memory I recall that this has always been the limit for SATA/SCSI
 drives.  For ATA drives I think it is 63?

If I do # ls -l /dev/hd[gh], I get:

brw-rw  1 root disk 34,  0 2005-02-26 06:43 /dev/hdg
brw-rw  1 root disk 34, 64 2005-02-26 06:43 /dev/hdh

, which does indeed suggest a max of 63.  However, there's nothing on the
disk partition structure (which is basically a chain of extended
partitions across the entire disk) to limit this.

 Not sure if this is a Linux OS kernel restriction - what is the maximum 
 number 
 that MSWindows see?

What's MSWindows?  ;-)

Proabably a lot less than 63.

However, the limit of 15 (which I didn't know about before) is a good
reason for me not to migrate to SATA disks.  I _like_ having lots of
partitions ~1 - 4 Gb.  It was trivial for me to clear a 4 Gb partition
for a trial installation of Gentoo (which, by the way, I'm expecting to
expand into my prime system - my Debian Sarge is beginning to feel very
tired).

Shoe horning IDE disks into the S{ATA,CSI}'s 15 partition limit seems an
unkind thing to do.

 Mick

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Solved!!! [Re: mount: special device /dev/hdc does not exist]

2008-07-20 Thread Alan Mackenzie
Hi, everybody,

I've got the problem fixed.  In my kernel config, I'd forgotten to
include a driver for my VIA low speed IDE controller.  I've put that
in, and I can now read CDs/DVDs (and probably burn them too).

I've stuck with the traditional /dev/hd[a-z] drivers for all the reasons
I've ranted about in other posts.

Thanks indeed to everybody who helped me get sorted!

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Mick wrote:

[...]
What would be the recommended way of upgrading from the /dev/hd to /dev/sd 
then?  I have held back doing this because I didn't have the time to mess 
about with it.  If I were to configure a new kernel without legacy ATA 
drivers, how would I know what my devices will be seen as in advance, so that 
I can change my /etc/fstab before I reboot?


The way I do it, is to label my partitions.  If your partitions aren't 
labeled yet, you can do so with 'tune2fs'.  If your /dev/hda1 is your 
root (/), /dev/hda2 your /home and /dev/hda3 your swap, you can label 
them with:


  tune2fs -L GentooRoot /dev/hda1
  tune2fs -L GentooHome /dev/hda2
  mkswap -L GentooSwap /dev/hda3

Then edit /etc/fstab and change the mount points from:

  /dev/hda1 ...
  /dev/hda2 ...
  /dev/hda3 ...

to:

  /dev/disk/by-label/GentooRoot
  /dev/disk/by-label/GentooHome
  /dev/disk/by-label/GentooSwap

As reference, here the relevant entries in my own /etc/fstab:

  /dev/disk/by-label/GentooRoot /  ext3noatime 0 1
  /dev/disk/by-label/GentooSwap none   swapsw  0 0
  /dev/disk/by-label/Suckage/windows/C ntfs-3g noatime 0 0

As you can see this even works for NTFS; you use the label you gave the 
drive in Windows.


After you've done these changes, it doesn't matter the least anymore 
what the actual device name is.  You can even move the harddisk to 
another computer (actually I'm doing exactly that) that totally results 
in a re-ordering of /dev/sd* entries and it will still mount correctly.





Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Dale

Nikos Chantziaras wrote:

Mick wrote:

[...]
What would be the recommended way of upgrading from the /dev/hd to 
/dev/sd then?  I have held back doing this because I didn't have the 
time to mess about with it.  If I were to configure a new kernel 
without legacy ATA drivers, how would I know what my devices will be 
seen as in advance, so that I can change my /etc/fstab before I reboot?


The way I do it, is to label my partitions.  If your partitions aren't 
labeled yet, you can do so with 'tune2fs'.  If your /dev/hda1 is your 
root (/), /dev/hda2 your /home and /dev/hda3 your swap, you can label 
them with:


  tune2fs -L GentooRoot /dev/hda1
  tune2fs -L GentooHome /dev/hda2
  mkswap -L GentooSwap /dev/hda3

Then edit /etc/fstab and change the mount points from:

  /dev/hda1 ...
  /dev/hda2 ...
  /dev/hda3 ...

to:

  /dev/disk/by-label/GentooRoot
  /dev/disk/by-label/GentooHome
  /dev/disk/by-label/GentooSwap

As reference, here the relevant entries in my own /etc/fstab:

  /dev/disk/by-label/GentooRoot /  ext3noatime 0 1
  /dev/disk/by-label/GentooSwap none   swapsw  0 0
  /dev/disk/by-label/Suckage/windows/C ntfs-3g noatime 0 0

As you can see this even works for NTFS; you use the label you gave 
the drive in Windows.


After you've done these changes, it doesn't matter the least anymore 
what the actual device name is.  You can even move the harddisk to 
another computer (actually I'm doing exactly that) that totally 
results in a re-ordering of /dev/sd* entries and it will still mount 
correctly.






Question, if I were to label mine and then boot from a Gentoo or any 
other bootable CD, would those labels still be there?


Dale

:-)  :-) 



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Dale wrote:

Nikos Chantziaras wrote:

Mick wrote:

[...]
What would be the recommended way of upgrading from the /dev/hd to 
/dev/sd then?  I have held back doing this because I didn't have the 
time to mess about with it.  If I were to configure a new kernel 
without legacy ATA drivers, how would I know what my devices will be 
seen as in advance, so that I can change my /etc/fstab before I reboot?


The way I do it, is to label my partitions.  If your partitions aren't 
labeled yet, you can do so with 'tune2fs'.  If your /dev/hda1 is your 
root (/), /dev/hda2 your /home and /dev/hda3 your swap, you can label 
them with:


  tune2fs -L GentooRoot /dev/hda1
  tune2fs -L GentooHome /dev/hda2
  mkswap -L GentooSwap /dev/hda3
[...]


Question, if I were to label mine and then boot from a Gentoo or any 
other bootable CD, would those labels still be there?


The labels are part of the file system; they're always there.  For 
example, when booting the 2007.0 LiveDVD (which uses the legacy drivers, 
meaning /dev/hd* instead of /dev/sd*) the labels are there and I can 
mount /dev/disk/by-label/GentooRoot just fine.





Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Dale

Nikos Chantziaras wrote:

Dale wrote:

Nikos Chantziaras wrote:

Mick wrote:

[...]
What would be the recommended way of upgrading from the /dev/hd to 
/dev/sd then?  I have held back doing this because I didn't have 
the time to mess about with it.  If I were to configure a new 
kernel without legacy ATA drivers, how would I know what my devices 
will be seen as in advance, so that I can change my /etc/fstab 
before I reboot?


The way I do it, is to label my partitions.  If your partitions 
aren't labeled yet, you can do so with 'tune2fs'.  If your /dev/hda1 
is your root (/), /dev/hda2 your /home and /dev/hda3 your swap, you 
can label them with:


  tune2fs -L GentooRoot /dev/hda1
  tune2fs -L GentooHome /dev/hda2
  mkswap -L GentooSwap /dev/hda3
[...]


Question, if I were to label mine and then boot from a Gentoo or any 
other bootable CD, would those labels still be there?


The labels are part of the file system; they're always there.  For 
example, when booting the 2007.0 LiveDVD (which uses the legacy 
drivers, meaning /dev/hd* instead of /dev/sd*) the labels are there 
and I can mount /dev/disk/by-label/GentooRoot just fine.






Kwl.  Now to see what I can screw up.  o_O

Dale

:-)  :-)



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Alan Mackenzie wrote:

On Sun, Jul 20, 2008 at 12:29:19AM +0300, Nikos Chantziaras wrote:
The CD/DVD-ROM can show up as /dev/sd* even with the old legacy drivers 
if you have enable SCSI Emulation for it.


In any event, try to build a new kernel using the new drivers.  The old 
legacy driver you're using will probably get declared deprecated at 
some point (if it didn't happen already).

[...]
In a philosophical mood, one might say that the new unified,
enhanced, better IDE support is inadequate for my setup.  What I
actually said, I'm not going to repeat in a public mailing list.


I must admit that I'm not affected much by this since, as I mentioned in 
another post, I use labels and don't look at what /dev/sd* my drive is 
mapped.


For unpartitioned drivers where I'm not sure which /dev/sd* entry to 
use, I simply use /dev/disk/by-id instead ;)




So the kernel guys have decided that nobody would ever want more than 15
partitions on a drive.  It's a bit like the old MS-DOS restriction to 512
MB all over again.  Hey, guys, hard drives nowadays are like 200 gig, not
512meg.  What's so wrong about having partitions with sizes 1Gb, 2Gb, 4Gb,
with maybe 100Mb for a boot partition?


Unlike the above, this one is a real problem.  Fortunately, as long as 
the new drivers are still labeled experimental there's little chance 
of the legacy drivers being removed from the kernel.  Performance-wise, 
I don't think you're missing much by not using the new drivers (though 
that's just a guess; don't take my word on it :P)


If some day the legacy drivers are kicked out, you might have to go the 
LVM route by force :P  But I guess this isn't like to happen anytime 
soon now, since not all hardware seems supported by the new drivers.




Both of these created /dev/sdc and /dev/sdc1, but no /dev/sdd.  When I
tried # mount -t iso9660 /dev/sdc /cdrom, I got the something's gone
wrong, but we're not telling you what error message.  Trying to mount
/dev/sdc1 gave exactly the same result.  Actually, thinking about it,
this was probably my USB stick it was trying to access.


I know that everyone is using his/her own system as he/she sees fit, but 
I don't mount CD/DVD and USB drives by hand anymore.  And no entries at 
all in fstab either.  I just plug it in and let dbus (+ HAL if you're on 
KDE/Gnome) handle the rest :P




Nikos, do you happen to know the appropriate kernel mailing list where I
could express the opinion that restricting the number of partitions on a
drive to 15 isn't a good tradeoff?


LKML should be OK.  At least last time I checked, regulars there are 
against directing people to more appropriate lists, meaning that LKML 
is the most appropriate of all if the issue is about things that are 
officially in the kernel.


In any event, I remember this issue being raised back in 2004, so I 
guess it has been discussed to death by now.  (And I did not follow the 
discussion, so I can't give you a summary, I'm afraid.  Google is your 
friend.)




All in all, I really amn't impressed with this modern drive support.
Besides quartering the max number of partitions on a drive, it confuses
IDE and SCSI drives, thus confusing me, too.  Previously, when I
attached devices to the IDE1 socket, I knew they would appear at
/dev/hd[cd].  Now, it would seem, the kernel assigns drives at random to
/dev/sd[abcd...], so you can only determine by experiment which devices
are at which device.  Nothing personal, Nikos.  ;-)


I'm on PATA+SATA+USB here, so I know what you mean.  However, I found 
the /dev/disk/ tree to be very helpful here.





Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Mick
On Sunday 20 July 2008, Nikos Chantziaras wrote:
 Dale wrote:
  Nikos Chantziaras wrote:
  Mick wrote:
  [...]
  What would be the recommended way of upgrading from the /dev/hd to
  /dev/sd then?  I have held back doing this because I didn't have the
  time to mess about with it.  If I were to configure a new kernel
  without legacy ATA drivers, how would I know what my devices will be
  seen as in advance, so that I can change my /etc/fstab before I reboot?
 
  The way I do it, is to label my partitions.  If your partitions aren't
  labeled yet, you can do so with 'tune2fs'.  If your /dev/hda1 is your
  root (/), /dev/hda2 your /home and /dev/hda3 your swap, you can label
  them with:
 
tune2fs -L GentooRoot /dev/hda1
tune2fs -L GentooHome /dev/hda2
mkswap -L GentooSwap /dev/hda3
  [...]
 
  Question, if I were to label mine and then boot from a Gentoo or any
  other bootable CD, would those labels still be there?

 The labels are part of the file system; they're always there.  For
 example, when booting the 2007.0 LiveDVD (which uses the legacy drivers,
 meaning /dev/hd* instead of /dev/sd*) the labels are there and I can
 mount /dev/disk/by-label/GentooRoot just fine.

Yes, labels . . . been thinking of doing this for the last two years!  I guess 
I will have to use reiserfstune for my reiserfs partitions.  What about xfs - 
will xfsprogs do it?

Thanks for the tip.  The thing with the conventional device numbering system 
is that you know which one is first, which second, etc.  With Labels I'll 
have to add something to it to remind myself that this is the first 
partition, etc.  Can I have blank spaces in the Label name?
-- 
Regards,
Mick


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


Re: [gentoo-user] emacs and asian languages

2008-07-20 Thread David Sveningsson

Citerar David Relson [EMAIL PROTECTED]:


I'm using emacs.22.1 and it's having trouble displaying asian
languages, specifically chinese and korean.

From the menus, using Options//Mule//ShowMultiLingualText, displays
Japanese correctly but shows boxes for Chinese and Korean characters.

Similarly, I've got a HelloWorld.java program that displays Hello
World in English, Chinese, Japanese, and Korean. This file displays
perfectly using Eclipse.  Emacs displays the japanese characters
without any problem.  4 of the 5 chinese characters are displayed
properly, with the 5th showing as a box.  All 8 korean characters show
up as boxes.

FWIW, the strings show up properly in my mail reader (Claws-Mail).  The
strings are:

zh: 
ja: _
ko:  __

Can anybody identfy what's wrong and point me toward a solution?

Thanks.

David




This sounds like a font issue to me. Can you see the characters  
correctly if you cat the files?



This message was sent using IMP, the Internet Messaging Program.


pgph8r6KVBEv3.pgp
Description: PGP Digital Signature


Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-20 Thread Walter Dnes
On Sun, Jul 20, 2008 at 12:08:45AM +0200, Volker Armin Hemmann wrote
 On Samstag, 19. Juli 2008, Walter Dnes wrote:
  On Sat, Jul 19, 2008 at 10:08:03PM +0200, Volker Armin Hemmann wrote
 
   How about: not using screensavers at all?
 
Now for a stupid-sounding question... what is the screensaver called?
  A ps -ef doesn't show any process with screen in the name.  Man x
  and man xorg don't help.  I'm running blackbox, so I don't have a
  gazillion settings widgets (nothing helpful in man blackbox).  How can I
  find what program is blanking the screen?  Once I do that, I can either
  set parameters or disable it.
 
 so you are not using a screensaver but dpms screen blanking?
 
 xset --help
 
 will answer your question.

  xset doesn't recognize --help as an option.  And the usage stuff
is sent to stderr instead of stdout. So I used my magic less command.
The command is...

xset {any illegal parameter}  /dev/stdout 21 | less

xset q shows the following relevant info (much snippage)...

Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  600

DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
===

  One additional bit of info.  If I let the system sit until the monitor
goes into DPMS standby (backlight is off) I can recover by hitting any
key.  It's the software screensaver that seems to be the problem.  A
bit of experimentation reveals that I can't directly invoke dpms off
from an on state.  Instead, I have to walk the monitor through the
series like so...

#!/bin/bash
sleep 3; xset dpms force standby;
sleep 3; xset dpms force suspend;
sleep 3; xset dpms force off

  So here's my plan.  In ~/.xinitrc I'll include the statements...

xset s off
xset dpms 360 365 370

  This will turn off the software screensaver and turn off the monitor
via dpms after 6 minutes of inactivity.

-- 
Walter Dnes [EMAIL PROTECTED]



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Dale wrote:

Nikos Chantziaras wrote:

Dale wrote:

[...]
Question, if I were to label mine and then boot from a Gentoo or any 
other bootable CD, would those labels still be there?


The labels are part of the file system; they're always there.  For 
example, when booting the 2007.0 LiveDVD (which uses the legacy 
drivers, meaning /dev/hd* instead of /dev/sd*) the labels are there 
and I can mount /dev/disk/by-label/GentooRoot just fine.


Kwl.  Now to see what I can screw up.  o_O


I should mention here the old Indian* saying: If it ain't broke, don't 
fix it.



*OK, it's not Indian, but you get the idea.




Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Dale

Nikos Chantziaras wrote:

Dale wrote:

Nikos Chantziaras wrote:

Dale wrote:

[...]
Question, if I were to label mine and then boot from a Gentoo or 
any other bootable CD, would those labels still be there?


The labels are part of the file system; they're always there.  For 
example, when booting the 2007.0 LiveDVD (which uses the legacy 
drivers, meaning /dev/hd* instead of /dev/sd*) the labels are there 
and I can mount /dev/disk/by-label/GentooRoot just fine.


Kwl.  Now to see what I can screw up.  o_O


I should mention here the old Indian* saying: If it ain't broke, 
don't fix it.



*OK, it's not Indian, but you get the idea.





True but I have trouble remembering which partition is home and which is 
portage, until I mount them anyway.  It's obvious then. 

I guess according to another reply that I will have to use something 
else for resierfs.  I guess it can't hurt to much.  Worst thing is to 
have to boot and edit fstab back to the old way.  :/


Dale

:-)  :-) 



Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Dale

Dale wrote:



True but I have trouble remembering which partition is home and which 
is portage, until I mount them anyway.  It's obvious then.
I guess according to another reply that I will have to use something 
else for resierfs.  I guess it can't hurt to much.  Worst thing is to 
have to boot and edit fstab back to the old way.  :/


Dale

:-)  :-)



Well bummer, you have to umount it first.  O_O  That sucks.  Somebody 
tell me it ain't so.


Dale

:-)  :-)



Re: [gentoo-user] emacs and asian languages

2008-07-20 Thread David Relson
On Sun, 20 Jul 2008 22:29:15 +0200
David Sveningsson wrote:

 Citerar David Relson [EMAIL PROTECTED]:
 
  I'm using emacs.22.1 and it's having trouble displaying asian
  languages, specifically chinese and korean.
 
  From the menus, using Options//Mule//ShowMultiLingualText, displays
  Japanese correctly but shows boxes for Chinese and Korean
  characters.
 
  Similarly, I've got a HelloWorld.java program that displays Hello
  World in English, Chinese, Japanese, and Korean. This file displays
  perfectly using Eclipse.  Emacs displays the japanese characters
  without any problem.  4 of the 5 chinese characters are displayed
  properly, with the 5th showing as a box.  All 8 korean characters
  show up as boxes.
 
  FWIW, the strings show up properly in my mail reader (Claws-Mail).
  The strings are:
 
  zh: 
  ja: _
  ko:  __
 
  Can anybody identfy what's wrong and point me toward a solution?
 
  Thanks.
 
  David
 
 
 
 This sounds like a font issue to me. Can you see the characters  
 correctly if you cat the files?

Hi David,

Using a Gnome terminal and the default character set Current Local
Ansi_X3.4-1968 all the asian characters are bad.  Using Unicode
(UTF-8) all look good.  So cat'ing _does_ work properly.

On the plus side, being able to display correctly in (1) a Gnome
terminal and (2) in Eclipse's source code window (which uses
Monospace) and (3) in a Claws-Mail window indicates that all needed
fonts are available.

On the minus side, e experiments to change emacs' mule encoding to
ascii, chinese, and utf-8 don't seem to have any effect :-

David



Re: [gentoo-user] emacs and asian languages

2008-07-20 Thread David Relson
On Sun, 20 Jul 2008 22:29:15 +0200
David Sveningsson wrote:

 Citerar David Relson [EMAIL PROTECTED]:
 
  I'm using emacs.22.1 and it's having trouble displaying asian
  languages, specifically chinese and korean.
 
  From the menus, using Options//Mule//ShowMultiLingualText, displays
  Japanese correctly but shows boxes for Chinese and Korean
  characters.
 
  Similarly, I've got a HelloWorld.java program that displays Hello
  World in English, Chinese, Japanese, and Korean. This file displays
  perfectly using Eclipse.  Emacs displays the japanese characters
  without any problem.  4 of the 5 chinese characters are displayed
  properly, with the 5th showing as a box.  All 8 korean characters
  show up as boxes.
 
  FWIW, the strings show up properly in my mail reader (Claws-Mail).
  The strings are:
 
  zh: 
  ja: _
  ko:  __
 
  Can anybody identfy what's wrong and point me toward a solution?
 
  Thanks.
 
  David
 
 
 
 This sounds like a font issue to me. Can you see the characters  
 correctly if you cat the files?

Hi David,

Using a Gnome terminal and the default character set Current Local
Ansi_X3.4-1968 all the asian characters are bad.  Using Unicode
(UTF-8) all look good.  So cat'ing _does_ work properly.

On the plus side, being able to display correctly in (1) a Gnome
terminal and (2) in Eclipse's source code window (which uses
Monospace) and (3) in a Claws-Mail window indicates that all needed
fonts are available.

On the minus side, e experiments to change emacs' mule encoding to
ascii, chinese, and utf-8 don't seem to have any effect :-

And in an emacs *shell* window (with mule...set UTF-8, the strings
show up like:

   String sh = zh: \344\270\226\347\225u\345\245\275;

which interprets as the octal codes corresponding to UTF-8 char. 

David



Re: [gentoo-user] emacs and asian languages

2008-07-20 Thread David Sveningsson

David Relson skrev:

On Sun, 20 Jul 2008 22:29:15 +0200
David Sveningsson wrote:
This sounds like a font issue to me. Can you see the characters  
correctly if you cat the files?


Hi David,

Using a Gnome terminal and the default character set Current Local
Ansi_X3.4-1968 all the asian characters are bad.  Using Unicode
(UTF-8) all look good.  So cat'ing _does_ work properly.

On the plus side, being able to display correctly in (1) a Gnome
terminal and (2) in Eclipse's source code window (which uses
Monospace) and (3) in a Claws-Mail window indicates that all needed
fonts are available.

On the minus side, e experiments to change emacs' mule encoding to
ascii, chinese, and utf-8 don't seem to have any effect :-

And in an emacs *shell* window (with mule...set UTF-8, the strings
show up like:

   String sh = zh: \344\270\226\347\225u\345\245\275;

which interprets as the octal codes corresponding to UTF-8 char. 


David




I assume you are using xemacs, does it work if you're not using xemacs 
(use the -nw flag when launching)? I have never used mule myself as it 
is not needed with emacs 22. Since everything seems to work in your 
terminal I cannot see why it wouldn't work in emacs, but I'm not an expert.


Just to be sure, have you followed the steps in 
http://www.gentoo.org/doc/en/utf-8.xml?

--


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student
http://sidvind.com

Thou shalt make thy program's purpose and structure clear to thy fellow 
man by using the One True Brace Style, even if thou likest it not, for 
thy creativity is better used in solving problems than in creating 
beautiful new impediments to understanding.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Strange grub problem

2008-07-20 Thread Neil Bothwick
On Sun, 20 Jul 2008 13:28:09 +0100, Mick wrote:

 I believe that the grub ebuild mounts it for you, messes up your
 grub.conf and carries on with its business

It doesn't touch grub.conf, that would be unacceptable. What is does do
is it no longer installs the default splash image to /boot, so that is
removed when the previous version is unmerged. If you use a different
image, or even if you have touched the existing splashimage file, your
boot won't be affected.


-- 
Neil Bothwick

God said, div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t,
and there was light.


signature.asc
Description: PGP signature


[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Dale wrote:

Dale wrote:
True but I have trouble remembering which partition is home and which 
is portage, until I mount them anyway.  It's obvious then.
I guess according to another reply that I will have to use something 
else for resierfs.  I guess it can't hurt to much.  Worst thing is to 
have to boot and edit fstab back to the old way.  :/


Well bummer, you have to umount it first.  O_O  That sucks.  Somebody 
tell me it ain't so.


It is so ;P

Best simply boot from the live CD and change the labels there, mount the 
root partition, change fstab right there and reboot.





[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-20 Thread Nikos Chantziaras

Mick wrote:

On Sunday 20 July 2008, Nikos Chantziaras wrote:

The labels are part of the file system; they're always there.  For
example, when booting the 2007.0 LiveDVD (which uses the legacy drivers,
meaning /dev/hd* instead of /dev/sd*) the labels are there and I can
mount /dev/disk/by-label/GentooRoot just fine.


Yes, labels . . . been thinking of doing this for the last two years!  I guess 
I will have to use reiserfstune for my reiserfs partitions.  What about xfs - 
will xfsprogs do it?


The xfs_admin is used to change the label of XFS partitions: 
http://linux.die.net/man/8/xfs_admin



Thanks for the tip.  The thing with the conventional device numbering system 
is that you know which one is first, which second, etc.  With Labels I'll 
have to add something to it to remind myself that this is the first 
partition, etc.  Can I have blank spaces in the Label name?


I don't think spaces are allowed.  But you can use underscores or 
capitalization.  Anyway, you don't need to add something to remind you 
of the partition's position; /etc/mtab will use regular device names, so 
you can see what's going on with 'cat /etc/mtab' or simply 'mount' 
without parameters.  On my system, even though I use labels, I get this 
with 'mount':


  /dev/sdc1 on / type ext3 (rw,noatime)
  /dev/sda1 on /windows/C type fuseblk 
(rw,noatime,allow_other,blksize=4096)





Re: [gentoo-user] emacs and asian languages

2008-07-20 Thread David Relson
On Mon, 21 Jul 2008 00:34:29 +0200
David Sveningsson wrote:

 David Relson skrev:
  On Sun, 20 Jul 2008 22:29:15 +0200
  David Sveningsson wrote:
  This sounds like a font issue to me. Can you see the characters  
  correctly if you cat the files?
  
  Hi David,
  
  Using a Gnome terminal and the default character set Current Local
  Ansi_X3.4-1968 all the asian characters are bad.  Using Unicode
  (UTF-8) all look good.  So cat'ing _does_ work properly.
  
  On the plus side, being able to display correctly in (1) a Gnome
  terminal and (2) in Eclipse's source code window (which uses
  Monospace) and (3) in a Claws-Mail window indicates that all
  needed fonts are available.
  
  On the minus side, e experiments to change emacs' mule encoding to
  ascii, chinese, and utf-8 don't seem to have any effect :-
  
  And in an emacs *shell* window (with mule...set UTF-8, the strings
  show up like:
  
 String sh = zh: \344\270\226\347\225u\345\245\275;
  
  which interprets as the octal codes corresponding to UTF-8 char. 
  
  David
  
  
 
 I assume you are using xemacs, does it work if you're not using
 xemacs (use the -nw flag when launching)? I have never used mule
 myself as it is not needed with emacs 22. Since everything seems to
 work in your terminal I cannot see why it wouldn't work in emacs, but
 I'm not an expert.
 
 Just to be sure, have you followed the steps in 
 http://www.gentoo.org/doc/en/utf-8.xml?
 -- 

I've got both emacs and xemacs installed.  Using xemacs, most of the
chinese, japanese, and korean characters show up as hex codes like
\226.  emacs does the better job (with japanese being correct).

I've looked at the utf-8.xml page and what I've got is a combination of
en_US.UTF-8 and C (see the end of this message).

My 2.6.24 kernel has iso8859-1 as its default and I'm rebuilding with
UTF-8 as the default to see if this helps.

Regards,

David


In /etc/locale.gen is:

en_US.UTF-8 UTF-8

In /etc/profile.env is:

export LANG='en_US.UTF-8'

In /etc/env.d/02locale.gen is:

LANG=en_US.UTF-8

env-update and source /etc/profile have been run.

Running locale reports:

LANG=en_US.UTF-8
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=C

Running locale -a reports:

C
POSIX
en_US.utf8




Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Eric Martin

Dale wrote:

Eric Martin wrote:

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd 
you start from, only that you get started.  For that matter (as 
people always say) you can boot off of knoppix or the lfs (linux from 
scratch) disk.  The only thing the cd does for you is provide a 
working linux environment that you can chroot from to install gentoo.


Of course, make sure you get the tarballs off the internet if you use 
a CD that old.  If you use the tarballs off the CD, you will have a 
lot of upgrades to do and it could be . . . messy.
Yeah, thanks for mentioning getting the new tarballs.  I always download 
the newest ones so I just assume everybody else does.




[gentoo-user] I goofed (was Screen-saver annoyance after recent update)

2008-07-20 Thread Walter Dnes
  Never mind.  Here's one for the books.  I have 2 computers.  d530 is
the production machine and d531 is the hot backup.  I only have one
24 LCD, which has 1 DVI plug and 1 VGA plug.  So I hooked up the DVI to
d530, and the VGA to d530.  My former production machine died recently,
and I moved d530 from hot backup to production status, and bought a
similar machine (d531) to use as my new hot backup.  Normally I only
start up the hot backup every 2 to 4 weeks to update it with the latest
updates/patches, then I switch it off.

  Since d531 is relatively new, I was still screwing around customizing
it to my specs.  So both machines were on for hours on end.  Rather than
switching the LCD monitor back and forth, I ssh'd from d530 to d531.

  It turns out that...
  - if the DVI and VGA inputs are hooked up to 2 different computers
that are turned on
  - and the DVI connection is active
  - when the screensaver on the DVI-attached PC kicks in
  - the LCD monitor automagically switches over to the VGA-attached PC

  Now I understand.  Pounding away on d530's keyboard is *NOT* going to
wake up d531 from screensaver modeg, which the LCD is now displaying.
And it also explains why I had to go into the monitor's menu and
manually switch the connection back to the DVI-attched PC.

-- 
Walter Dnes [EMAIL PROTECTED]



Re: [gentoo-user] Re: What is the gimmick to run tightvnc from windows to gentoo

2008-07-20 Thread Josh Cepek

Harry Putnam wrote:

David Blamire-Brown [EMAIL PROTECTED] writes:


I did this a while back and I got it working by tunnelling via SSH
(using putty on windows).  But I can't remember the exact details
off the top of my head. It may be worth googling that set-up. I seem
to remember thinking it felt like a kludge and I can't quite
remember why I ended up doing it, but I do remember that it worked.


Well at least that sounds promising.  I did see mention of that in
some of my google searches but I wondered, If I had to use ssh, why
wouldn't I just pull the X session on linux across with ssh alone.
And forget about VNC.


Session persistence. [1] With VNC I can create a full desktop session (I 
use Fluxbox because it's lightweight) and connect to it as needed from 
any system with network access. This is great for my IM app. I lock my 
firewall rules down to allow VNC only from localhost and ssh tunnel all 
my connections (even on the LAN) because VNC's auth scheme is dreadfully 
insecure.



I think I've heard that can be doneI think I may have even done it
sometime way back, but VNC is so easy the other direction it seems it
should be just as easy connecting windows vnc client to gentoo vnc
server.

For some reason the vnc server appears not to have any debug or
verbose switches. But not sure even if it did, since it appears the
connection is simply rejected, if that would help.

I'd like to see some log info as to why the connection is rejected.


How are you starting TightVNC from Linux? If you use something like 
`vncserver :1` then you should get lots of info in ~/.vnc/`uname 
-n`:1.log . This should provide plenty of info/debug info for you.


I'd start by starting the VNC server and making sure that the log file 
indicates it started correctly, which should look like [2]. Then try to 
connect from a remote host; if you get a connection refused message then 
chances are good you have a firewall problem, so make sure the proper 
port is open (5901 for :1, or 5801 via the java http applet.) Try nmap 
from the Windows host to verify port status if you're unsure. I've 
included a connection log sample at [3].


[1]: You could look into NoMachine's NX server (or the GPL-flavor of 
this project) as well for the persistent execution benefit, but I've had 
bad luck with NX sessions terminating on me. Plus you can't resume an NX 
you start under Linux on a Windows host or vise-versa, so it's not as 
useful to me as VNC is. YMMV.


[2]: Sample VNC session startup log segment:
20/07/08 23:59:17 Xvnc version TightVNC-1.3.9
20/07/08 23:59:17 Copyright (C) 2000-2007 TightVNC Group
20/07/08 23:59:17 Copyright (C) 1999 ATT Laboratories Cambridge
20/07/08 23:59:17 All Rights Reserved.
20/07/08 23:59:17 See http://www.tightvnc.com/ for information on TightVNC
20/07/08 23:59:17 Desktop name 'X' (seraph:1)
20/07/08 23:59:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
20/07/08 23:59:17 Listening for VNC connections on TCP port 5901
20/07/08 23:59:17 Listening for HTTP connections on TCP port 5801
20/07/08 23:59:17   URL http://seraph:5801
xrdb: No such file or directory
xrdb: can't open file '/home/josh/.Xresources'
BScreen::BScreen: managing screen 0 using visual 0x22, depth 24
Xlib:  extension RANDR missing on display :1.0.

[3]: Sample VNC connection log segment (this connection initiated from 
127.0.0.1, the VNC server's localhost address):

20/07/08 23:59:24 Got connection from client 127.0.0.1
20/07/08 23:59:24 Using protocol version 3.8
20/07/08 23:59:24 Enabling TightVNC protocol extensions
20/07/08 23:59:49 Full-control authentication passed by 127.0.0.1
20/07/08 23:59:49 Pixel format for client 127.0.0.1:
20/07/08 23:59:49   32 bpp, depth 24, little endian
20/07/08 23:59:49   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
20/07/08 23:59:49   no translation needed
20/07/08 23:59:49 Using tight encoding for client 127.0.0.1
20/07/08 23:59:49 Using image quality level 6 for client 127.0.0.1
20/07/08 23:59:49 Enabling X-style cursor updates for client 127.0.0.1
20/07/08 23:59:49 Enabling cursor position updates for client 127.0.0.1
20/07/08 23:59:49 Enabling LastRect protocol extension for client 127.0.0.1

--
Josh



signature.asc
Description: OpenPGP digital signature


[gentoo-user] A few questions on trying to install

2008-07-20 Thread Alan E. Davis
Having been (mostly happily) using Ubuntu for a number of months I
yearn to install Gentoo again.  Tried a beta release of Gentoo 2008.0,
and was pleased, at least to be able to boot and not have the
confusion about naming HDDs, and using Grub was simpler.  Now, as I
approach the Live CD installer (AMD64) some problems are keeping me at
bay.

Now, however, I've tried three or four times to install on an existing
partition.  Grub will not install over the ubuntu grub, or else
something else is crazy.  After a 2 hour preparation the last time
around, emerging the extra packages, the system just stopped, and when
at long last I finally rebooted, it was back to Ubuntu.

May I ask a few questions?

  -  Live CD only installs over a clean partition.  How can I resume
an installation?

  -  I only have a unsupported atheros wifi card for connection.  I've
been using it for years.  No easy way to connect by wire.  Any ideas?

  -  I have an 80GB fast SATA drive and three slower 7000 RPM drives.
What partitions are best kept on the fast drive to maximize
performance (I have basically an all purpose workstation).  My /home
will be about 100GB: is it wiser to split it up into a smaller core
/home with several slower archive and storage partitions (Library,
Project archives, Videos, Music)?

  - Advice about UUIDs?  I lost a partition (a large one) over a
misidentification of a partition when the Ubuntu scheme started
swapping around names of devices.  Old /dev/hda became /dev/sda and
old /dev/sda became /dev/sdb.  What a mess that turned out to be.

For now this will be enough.

Alan