Re: [gentoo-user] mount permission

2003-09-12 Thread Nicolas STURMEL
Andrew Farmer wrote:
> On Fri, Sep 12, 2003 at 04:05:34PM -0700, Klaus D. Neumann muttered:
> 
>>Hi,
>>How can I give a normal user permission to mount my M$ partition? I 
>>added this line:
>>/dev/hda1/Windowsvfatuser0 0
>>to my /etc/fstab, but when I try to mount it, I get this:
>>[EMAIL PROTECTED] klaus $ mount /dev/hda1 /Windows
>>mount: only root can do that
> 
> 
> Check the permissions on /Windows. Also note that it's customary for
> mounts to all live in /mnt.
> 
> Also check permissions on /dev/hda1.
> 

File system permissions might also be the problem :

vfat is not an unix file system, it doesn't handle permissions.
So you have to use the UID option in your fstab tu set an owner of all
the files on the partition.
So look at the UID, GID, UMASK options in "man mount", here is an piece
of my fstab :

/dev/hdb3   /home/WIN   vfatrw,user,uid=1000,gid=0  0 0


-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub: WinXP+Gentoo

2003-09-04 Thread Nicolas STURMEL
Roman v.Gemmeren wrote:
> Hi, 
> 
> On Thu, 4 Sep 2003 00:56:35 +0100, you (Peter Ruskin
> <[EMAIL PROTECTED]>) wrote:
> 
> 
> 
>>Grub's (hd1,0) is /dev/hdb1, which you don't appear to have.
>>For /dev/hdd1, use (hd3,0).
>>
>>Peter
> 
> Are you sure? 

No, he is wrong

> when i hit Tab (after (hd   )it shows me the availabe
> options, and there is only hd0 and hd1... 

correct, if you only have two harddrive, it only count hd0 and hd1.

but according to your fstab, your _/boot_ partition is hdd1, so hd(1,0)
so no need to give the "/boot" in your grub.conf
it should look like :
root (hd1,0)
kernel (hd1,0)/kernel...  root=/dev/hdd3
initrd (hd1,0)/initrd...

Here we are, it should work now.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CDRW does not read CD's

2003-08-31 Thread Nicolas STURMEL
Scharf Yuval wrote:
> Hello,
> 
> When I'm trying to read the CD's that I've just burned the CD-RWs LED just
> blinks for a long time and after that if I try to mount I get:
> /dev/cdroms/cdrom1: Input/output error
> mount: I could not determine the filesystem type, and none was specified
> 

some CDRW drives need the CD that has just been burned to be ejected
before trying to read it. But i don't think it is really the problem here.
Just a guess :-)

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] NVidia Riva TNT32 x OpenGL

2003-08-29 Thread Nicolas STURMEL
Michael Schreckenbauer wrote:
> 
> Hello,
> yes, you are right, that's needed :-) I think, this was meant by 
> "...i run opengl config i change to nvidia gl...", but I could be wrong about 
> that. Good point you mentioned this.
> 

Look at your XF86Config, you probably didn't enable the glx extension,
here is a piece of mine ( I use the nvidia driver with a Geforce4
MX440SE ) :

Load"dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  "extmod"
  Option"omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load"type1"
Load"speedo"
Load"freetype"
Load"xtt"

# This loads the GLX module
Load   "glx"
# This loads the DRI module
Load   "dri"

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] is -march=pentium4 cool?

2003-08-27 Thread Nicolas STURMEL
gabor wrote:
> start this:
> 
> python -c 'int(10.1); int(1.3); int(1.2)'
> 
> on a 'normal' computer, it ends without any output.
> 
> on the miscompiled pentium4 computers it ends with an overflow error.
> 
> so basically if it ends with overflow error, gcc broke python because of
> the march=pentium4.

---# python -c 'int(10.1); int(1.3); int(1.2)'
---#

So i assume my python is not broken :)

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] is -march=pentium4 cool?

2003-08-27 Thread Nicolas STURMEL
gabor wrote:
> On Wed, 2003-08-27 at 12:19, Nicolas STURMEL wrote:
> 
>>Adam Dunstan wrote:
>>
>>>im using gcc 3.2.3 and i was woundering if it was still going to brake every
>>>thing if i use -march=pentium4?
>>>
>>
>>I use it, and i don't have any problem.
>>i have a celeron 2Ghz ( @ 2,7Ghz :-) )
>>
>>my flags :
>>CFLAGS="-march=pentium4 -O2 -frename-registers -pipe -fomit-frame-pointer"
> 
> 
> did you tried that famous little python program?

not at all, i didn't heard of it !
what is it ? :-)

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] is -march=pentium4 cool?

2003-08-27 Thread Nicolas STURMEL
Adam Dunstan wrote:
> im using gcc 3.2.3 and i was woundering if it was still going to brake every
> thing if i use -march=pentium4?
> 

I use it, and i don't have any problem.
i have a celeron 2Ghz ( @ 2,7Ghz :-) )

my flags :
CFLAGS="-march=pentium4 -O2 -frename-registers -pipe -fomit-frame-pointer"

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] enabling dma

2003-08-22 Thread Nicolas STURMEL
Tom Hosiawa wrote:
> I've looked around for a solution but can't find much as to this
> particular case. I can enable dma with the linux-2.4.20-gentoo-r6 kernel
> but not with linux-2.4.21 (uses same config file), any ideas?
> 

You should look previous subjets on the lists were DMA enabling is
largely discussed.
To be short : your problem is a kernel_config problem. You must enable
DMA in your kernel, as well as the support of your IDE chipset.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Install with serial-ata disk

2003-08-20 Thread Nicolas STURMEL
thanks a lot, that was exactly waht I was expecting :-)

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] IDE bus speed

2003-08-19 Thread Nicolas STURMEL
Ian Truelsen wrote:
> 
> Probably the only way to get significantly better performance is by
> going to SCSI. 
> 

IDE RAID could also be a ( cheaper ) solution.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] IDE bus speed

2003-08-19 Thread Nicolas STURMEL
Rex Young wrote:
> I think that you're stuck on the 33MHz.  Don't be.  I believe that they all
> operate
> at 33MHz where they are UDMA 100, UDMA 133, etc.  33MHz is the speed that
> this bus
> operates at.

I think you are wrong too :-P

The size of the IDE bus ( 16 bits ) didn't change since quitte a while,
the only trick they found to increase data rate is to increase the bus
frequecy as well.

but something interessant is that on Yuval's system hda is on the same
bus as a pio interface ( CDROM, Tape... ). And that _must be the reason_
of a slighty slower hard drive. In that way, this bus is maybe blocked
at UDMA33 becaus e of the presence of an ATAPI interface.

I have a single advice : *never mix HD ans ATAPI devices on a same bus*

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] IDE bus speed

2003-08-19 Thread Nicolas STURMEL
Scharf Yuval wrote:
> Hello,
> 
> I don't understand your answer Nicolas.
> Because My bus is 33MHz I get 27MB/s. I understand that.
> What I'm asking is if the UDMA(100) means that the HD is capable of
> 100MB/s and the bus holds it back. Does it mean that with a newer
> motherboard my HD will work much faster?
> 

You are wrong, UDMA 100 only means that Data can travel as fast as
100MB/s on the bus, but your hard drvie is mechanic, it is physicaly
limited far beyond the bus speed, and a newer motherboard will never
afect that.

If you get 27MB/s with an Intel chipset, you will probably never get
more, but maybe less ( with VIA or SIS chipsets maybe... )

English is not my mother tongue, so sorry if there are some
misunderstanding :-)

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] IDE bus speed

2003-08-19 Thread Nicolas STURMEL
Scharf Yuval wrote:
> Hello,
> 
> Can someone explain to me the following log messages from the kernel:
> 
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ICH2: IDE controller on PCI bus 00 dev f9
> ICH2: chipset revision 2
> ICH2: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
> hda: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=2434/255/63, UDMA(100)
> 
> Using `hdparm -t /dev/hda5` I get ~27MB/s.
> Does it mean that my bus holds back my HD.
> Shouldn't I get 100MB/s?
> Can I do something to improve performance.
> 

What a 'hdparm' day ;-)

Just read the manual page of hdparm and you will see that the '-t' flag
only gives your _Hard Drive_ speed. And a 27MB/s data rate is quite
corect for an IDE Hard Drive.
My latest Seagate Barracuda is given at 55MB/s, and my old Baracuda IV
80GB is given at 30MB/s.
In fact, i do not think that hdparm can easily reach the theorical IDE
bus speed, as the '-T' flag ( the second of the only two bench flags I
know ) gives system mem-buffer I/O speed.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Nicolas STURMEL
Pupeno wrote:

> So, what may be wrong then ? (I didn't enable anything on the HDs yet)
> 

Perhaps did you mis-config your kernel.
Look in IDE/ATAPI options to see if you enabled the driver corresponding
to your chipset.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Install with serial-ata disk

2003-08-19 Thread Nicolas STURMEL
Yuri Enshin wrote:
> For intel SATA controller most MB's can be configured for
> 'comaptibility' (not native) mode. In this mode, you can use one PATA
> port and two SATA (as primary and slave), and this mode comaptible with
> old drivers in kernel 2.4.x. On my comp (i865-based MB and  Maxtor 120GB
> SATA) livecd gentoo kernel (2.4.20) still unbootable, but I can boot
> with smp kernel and install gentoo, and then switch to 2.6 kernel.

Are you saying that you managed to use a serial ATA disk with the ICH5
controller and a 2.6.0 kernel ?
What options did you activate in the kernel config ?
Could you also give a hdparm output to see what performances serial ATA
can achieve ?

Because, I am really interested with serial ATA but I have to be sure
about serial ATA compatibility between my I865ep motherboard ( Abit
IS7-E ) and the linux kernel.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] small installation

2003-08-19 Thread Nicolas STURMEL
Ewald Geschwinde wrote:
> Do you have an url of this debian system and how they managed to get
> debian down like this
> 

Not at all, i only know that they spent much time to manage this.

Did you compress your 140Mb system ? the good idea is to put a
system.tgz on the flash witch is untared on a ramdisk.
You could keep this system on a server, and, after updating, uploading
it to the flash disk. Since read-write are limited on flash disks, this
wouls be the safest way.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] small installation

2003-08-19 Thread Nicolas STURMEL
Ewald Geschwinde wrote:
> I need it for a embedded system.
> Should run on a flash rom with 128 MB
> 

I know people who managed to put a debian system on a 128 Mb flash for
an embedded system running an Epia 5000.
But this kind of operations are tricky. Perhaps you should look in
http://www.linux.org/dist/index.html where you can find distributions
specialy designed for embedded systems.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo poll #4 results

2003-08-18 Thread Nicolas STURMEL
brett holcomb wrote:
> Stage 1 tarball installs enough to get things rolling so a system can be
> built.  Then it builds the system optimized for your computer.  It takes
> a while but works well.
> 

But what is the différence with the Stage 3 since all is re-built during
updates ?

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Enabeling hyperthreading

2003-08-04 Thread Nicolas STURMEL
Michael Gruetzner wrote:
> Hello,
> 
> I've got a Pentium4 mPGA478 and I'd like to enable hyperthreading. The
> output of dmesg tells me, that hyperthreading is disabled and smp
> motherboard not found. My motherboard is a Fujitsu-Siemens D1527 with
> hyperthreading support. According to /proc/cpuinfo the cpu should also
> support hyperthreading(the ht flag is set).
> What do I have to do to enable hyperthreading?
> 
> Thanks
> Michael
> 

What is exactly your CPU référence ? i noticed that my Celeron 2ghz wich
is not HT capable has also the ht flag in /proc/cpuinfo

HT capable Pentium 4 are :
3.06 Ghz P4B ( FSP533 )
all the P4C ( FSB800 ) ( 2.4C 2.6C 2.8C 3C ( 3.2C ) )

So, since your motherboard is only FSB533 capable, to enable
hyperthreading you must have a P4 3.06 Ghz, and none other.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list