[gentoo-user] Suggestions on partitioning HD

2005-10-13 Thread Alexey Asprov
Hi again,

I have 10G HD which I would like to use for my new LVM2 install
following this guide:
http://www.gentoo.org/doc/en/lvm2.xml

I've decided to go with this doc using my physical partitions for /boot
/swap and / and give the rest to LVM.

So partitions /usr /home /opt /var /tmp will be using LVM
I will also use JFS filesystems on all of them, except /swap offcourse.

What is your suggestions regarding how much space to give to each?

Your replies are appreciated as always.

And yes, I know that my drive is small and old and I can shrink and expand
those in the future, but, theoretically, this is developement laptop and 
I want to use it.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggestions on partitioning HD

2005-10-13 Thread Alexey Asprov
Thanks for your reply. So, if that were your system, how much space you
would give to /boot /swap / ( eliminating /opt) /home /var /tmp and  /usr?
I just need rough numbers, so that my fresh install wouldn't get in trouble.
I have 256 RAM and this is 10GIGs. Thanks again.

On Thu, 13 Oct 2005 12:14:30 -0400
Dave Nebinger [EMAIL PROTECTED] wrote:

 1. Boot should be at most ext3, but ext2 is just fine (the only thing on this 
 partition is kernel images and grub stages).  Keeping to this will mean less 
 problems at boot time (grub users can tell you nightmares about 
 reiserfs /boot partitions, and I'd guess that jfs would be in the same 
 category).  50 meg is a nice round number although you can do with half that 
 (I personally use 100mb but I've got a number of kernels installed there).
 
 2. /opt does not need to be a separate partition.  Few gentoo things go 
 there, 
 so it is not worth maintaining a separate partition for (and wasting the 
 possible space).
 
 3. /home should be a separate partition, sized to your needs.
 
 4.  I'm from the old school where we believe /var/tmp and /tmp should be 
 separate partitions.  This is primarily before they were made partitions as a 
 norm and were on the root partition; filling them meant filling / and also 
 meant you would lose access to your box.
 
 5. For gentoo I recommend using a separate partition for /usr/portage.  It's 
 hard to nail down a size for this as portage tree keeps growing and the 
 number of distfiles you might have is in flux.  Isolating it ensures that any 
 growth issues are isolated to that branch.
 
 6. /var is your choice whether to parrtition separately or not, but is 
 probably a good idea.  /var/logs will grow over time, /var/spool is in 
 constant flux, but the rest will typically remain kinda static (note this 
 depends upon the apps you use; mysql houses it's databases under /var by 
 default, and apache/tomcat use /var/www so that can chane also.
 
 Sizing each of the areas is really personal preference; if you ask 10 
 different gentooers you'll probably get 11 different responses at least.
 
 Dave
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Alexey Asprov
Hi list again..

I will attempt to bootstrap with following USE flags for the NPTL.
I will not be using Gnome or KDE. I'd appreciate peoples opinion
about them and welcome their examples of USE flags ( real working
experiences) for bootstraping. This will be done for Pentium3
machine, if this matters.

Another question I'd like to ask if I need to include my CPU flags
in the USE ( I think I need), but not sure if all of them have to be
included ( will it hurt?) or just mmx and sse will suffice.
Here is my cat /proc/cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 10
cpu MHz : 797.544
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse
bogomips: 1576.96

I very much welcoming any input on this matter. Thank you.

USE=-gnome -kde -qt -arts aac alsa acl acpi activefilter aim ansi apache2 \
 aper artworkextra audiofile authdaemond avantgo bash-completion \
 bcmath bdf bidi blender-game bzip2 bzlib cap cddb cdinstall \
 cdparanoia cdrom cgi chroot cjk clanJavaScript clanVoice client \
 codecs cpdflib css ctype curl curlwrappers dba dhcp dio \
 divx4linux djbfft dnd droproot dts dv dvdr dvdread edl eds \
 eep emacs emacs-w3 erandom evo exif ext-png ext-zlib extensions \
 fastcgi fbcon ffmpeg fluidsynth fmod foreign-package foreign-sysvinit \
 fpx freetype freewnn ftp gtk gtk2 gb gcl gd geoip gimp gimpprint ginac \
 glade glgd glitz glut gmp gmtfull gnokii gnomedb gnuplot graphviz gs \
 gsl gtkhtml hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image \
 imap imlib2 innodb ipv6 irda irmc j2ee jabber javacomm javadoc \
 javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg2k jta \
 jython kadu-modules kadu-voice kakasi kerberos krb4 latex lcms leim \
 libclamav libdsk libgd libgda libsamplerate live lua lufsusermount \
 lzo lzw lzw-tiff m17n-lib maildir matroska mbox mcal mdb memlimit \
 migemo mime mixer mjpeg mls mmap mng monkey mozcalendar \
 mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg4 mpi mplayer msn mysql \
 mule music mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native \
 net netcdf network neural nis nowin nptl nptlonly ntlm nviz \
 oav objc ocaml offensive ofx openal opie oscar ospfapi \
 parse-clocks pcap pcntl pcre pda pdf pg-hier pg-intdatetime \
 pg-vacuumdelay php physfs pic plotutils portaudio posix postgresql \
 povray ppds pri print procmail pthreads quotas quotes real \
 resperl rhino rogue rplay S3TC sasl servlet-2.3 servlet-2.4 session \
 sftplogging shared sharedmem silc ssl simplexml skk slp smime sndfile \
 snortsam sockets socks5 softquota sox spl stencil-buffer stroke \
 struts svg sysvipc szip t1lib tcsim tga theora tidy transcode \
 truetype-fonts type1-fonts uim unicode usb v4l v4l2 vcd \
 vda videos virus-scan wddx winbind wmf wxwindows X X509 xanim xatrix \
 xchatdccserver xchattext xemacs xface xgetdefault xine xmlrpc xosd \
 xpm xprint xrandr xscreensaver xsl xvid xvmc yahoo yaz yp yv12 zaptel \
 zeo zvbi
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrecord trouble

2005-10-12 Thread Alexey Asprov
Thanks very much for your replies. It seems that cdrecord has a tough time
to coexist with 2.6 kernel series. I have ended up with fireing Kanotix
LiveCD, mounting my Gentoo partition and burning new Knoppix 4.0.2 with
k3b with some sort of hacked Ubuntu drivers ( cdrecord complained all the way)
at 1 speed. I am hesitant to installthis KDE stuff on my machine. 

On Wed, 12 Oct 2005 13:45:07 +
John Green [EMAIL PROTECTED] wrote:

 Holly Bostick wrote:
 
 John Green schreef:
   
 
 Alexey Asprov wrote:
 
 
 
 
 I have finally made my usb cdr to work, however I can't burn cds 
 This was what I made it to work:
 
 Device Drivers - SCSI device support - [*] SCSI CDROM support USB
  support - [*] EHCI HCD [*] USB Mass Storage support [*] Freecom 
 USB/ATAPI Bridge support [*] ISD-200 USB/ATA Bridge support [*] 
 USBAT/USBAT02-based storage support
 
 
 Now...
 
 cdrecord -scanbus Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright
  (C) 1995-2004 Jörg Schilling cdrecord: Warning: Running on 
 Linux-2.6.12-gentoo-r6 cdrecord: There are unsettled issues with 
 Linux-2.5 and newer. cdrecord: If you have unexpected problems, 
 please try Linux-2.4 or Solaris. Linux sg driver version: 3.5.33 
 Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'HP' 
 'CD-Writer+ 8200e' '0001' Removable Disk 0,1,0 1) * 0,2,0 2) * 
 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 
 7) *
 
 And...
 
 cdrecord -v -dao speed=4 dev=0,0,0 
 KNOPPIX_V4.0.2CD-2005-09-23-EN.iso Cdrecord-Clone 2.01 
 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling 
 cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6 cdrecord: 
 There are unsettled issues with Linux-2.5 and newer. cdrecord: If 
 you have unexpected problems, please try Linux-2.4 or Solaris. TOC
  Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0
 Linux sg driver version: 3.5.33 Using libscg version 'schily-0.8'.
 SCSI buffer size: 64512 atapi: 1 Device type: Removable Disk
 Version : 0 Response Format: 1 Vendor_info: 'HP' Identifikation
 : 'CD-Writer+ 8200e' Revision   : '0001' Device seems to be: 
 Generic CCS Disk. cdrecord: Sorry, no CD/DVD-Drive found on this 
 target
 
 Any suggestions? I see many people have the same problem, but 
 couldn't find the solution. Thanks in advance.
 
 
 
   
 
 Hi Alexey,
 
 I haven't seen any replies to your question.  You might want to try 
 this suggestion if you are still stuck.  It worked for me.
 
 emerge k3b
 
 Then run k3b and note the parameters it uses to burn the cd.  The use
  that information to adjust cdrecord.
 
 I normally use fluxbox, so I first had to emerge large parts of kde,
  run k3b and then remove k3b and kde.  That's why this suggestion is
 a last resort.
 
 
 
 That's a good idea, John, but you don't have to 'emerge large parts of
 KDE' to emerge k3b. Just kdelibs (and qt, but QT is useful even if you
 don't use KDE, so I don't see that as a problem), *if* you use the -arts
 and -kde USE flags to emerge it. If you don't use KDE, then they should
 already be in /etc/make.conf, but you (or Alexey) can also add it to
 /etc/portage/package.use:
 
  #echo 'app-cdr/k3b -arts -kde' /etc/portage/package.use
 
 (assuming that the directory /etc/portage exists; the file will be
 created if it does not exist, but the folder won't, so it must pre-exist).
 
 
 HTH,
 Holly
   
 
 You are probably right.  It was 6 months ago.
 Things may have changed since then, or I was just obtuse.  My
 Log says *what* I did, but not why.
 
 John
 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Alexey Asprov
On Wed, 12 Oct 2005 11:21:08 -0400
Dave Nebinger [EMAIL PROTECTED] wrote:

 On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
  Hi list again..
 
 Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set 
 correctly; I can tell because your sent time is in the future ;-)

Hello Dave. Why this can be so important? Yes, I set my local timezone
to GMT. If it won't harm the system, who cares? Or, does it harm? 
And yes, I am in st.Petersburg (Russia), but I coudn't find any
relevant timesone when I've installed Gentoo for the (3)rd time
and thoght this would be fine. Does this interfere with my using
and compiling the system?
 
  I will attempt to bootstrap with following USE flags for the NPTL.
  I will not be using Gnome or KDE. I'd appreciate peoples opinion
  about them and welcome their examples of USE flags ( real working
  experiences) for bootstraping. This will be done for Pentium3
  machine, if this matters.
 
 Hmm, well I can't tell you what to predict in regards to the list of flags 
 that you generated.  The list is all over the place in regards to media and 
 web flags, yet the -kde and -gnome will hogtie most of the resulting 
 packages.

I have only found exaple with working ( as athour claims) USE flags for
workingbootstraping . If you feel that some packages will hogtie, please
advice on what USE flags have to be removed ( or added).
 
 Use emerge --pretend to see what kind of results you'll actually get.


Not sure what do you mean by that. Emerge -pv just estimating what packages
have to be emerged.

 
  Another question I'd like to ask if I need to include my CPU flags
 
 In /etc/make.conf you define your CFLAGS to match your cpu.  In your case 
 (which is just like mine) the following should suffice:
 
 CFLAGS=-O2 -march=pentium3 -pipe -mcpu=i686 -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}

I was asking about USE variable USE=, not about CFLAGS.. ( those will
come up later).., and from various sources, they have to be ( for instance)
-mmmx, msse, etc.. But do I have to include thoe flags to my USE variable?
( like mmx, sse, etc).
 
 You might want to add the USE options for the supported mmx, mtrr, etc.  but 
 I 
 honestly can't tell you what effects they actually have on the builds.

Thanks for your response, but probably some one added to USE flags in make.conf?
And how did it go in bootstrapping? Also, to rephrase my original question
do I have include all of them or only mmx, sse, mtrr as Dave suggested?

Thanks. Alex.
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] cdrecord trouble

2005-10-11 Thread Alexey Asprov
I have finally made my usb cdr to work, however I can't burn cds
This was what I made it to work:

Device Drivers -
SCSI device support -
[*] SCSI CDROM support
USB support -
[*] EHCI HCD
[*] USB Mass Storage support
[*] Freecom USB/ATAPI Bridge support
[*] ISD-200 USB/ATA Bridge support
[*] USBAT/USBAT02-based storage support


Now... 

cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'HP' 'CD-Writer+ 8200e' '0001' Removable Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

And...

cdrecord -v -dao speed=4 dev=0,0,0 KNOPPIX_V4.0.2CD-2005-09-23-EN.iso
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable Disk
Version: 0
Response Format: 1
Vendor_info: 'HP'
Identifikation : 'CD-Writer+ 8200e'
Revision   : '0001'
Device seems to be: Generic CCS Disk.
cdrecord: Sorry, no CD/DVD-Drive found on this target

Any suggestions? I see many people have the same problem, but couldn't find the 
solution. Thanks in advance.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help setting up my HP USB CD-Writer

2005-10-10 Thread Alexey Asprov
Hi list,

I'm trying to set up my HP USB drive, but confused what options have to be
inabled in the kernel. Live CD configures just fine. Thanks in advance.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help setting up my HP USB CD-Writer

2005-10-10 Thread Alexey Asprov
Thanks, that seemed to work:

scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: HPModel: CD-Writer+ 8200e  Rev: 0001
  Type:   Direct-Access  ANSI SCSI revision: 00
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete


Are you sure that /dev is indeed sr0? not sg0? I am confused here.
Since X-CD-Roast failed to recognize my drive, don;t you know btc
how to burn .iso with cdrecord?

cdrecord --scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'HP' 'CD-Writer+ 8200e' '0001' Removable Disk
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *


THanks again.




On Mon, 10 Oct 2005 08:00:45 -0700
Richard Fish [EMAIL PROTECTED] wrote:

 Alexey Asprov wrote:
 
 Hi list,
 
 I'm trying to set up my HP USB drive, but confused what options have to be
 inabled in the kernel. Live CD configures just fine. Thanks in advance.
   
 
 
 Try:
 
 Device Drivers -
 SCSI device support -
 [*] SCSI CDROM support
 USB support -
 [*] EHCI HCD
 [*] USB Mass Storage support
 [*] Freecom USB/ATAPI Bridge support
 [*] ISD-200 USB/ATA Bridge support
 [*] USBAT/USBAT02-based storage support
 
 With the above, the reader should appear at /dev/sr0, with the normal 
 cdrom  cdrw symlinks.
 
 -Richard
 
 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
gentoo-user@gentoo.org mailing list