Re: from my experiance: I wouldn't recommend ati

2008-12-18 Thread Oron Peled
On Thursday, 18 בDecember 2008, Erez D wrote:
 i have recently bought a new computer. my old one had nvidia , and my new
 has ati 4550 passive.
 ... [rest of horror story omitted]

This is a typical usage scenario for binary add-on drivers
(just google for e.g: ubuntu madwifi)

What is more interesting is how much had actually advanced in the
radeonhd (new free software ATI driver):
 - Docs are freely available since end of 2007:
   http://developer.amd.com/documentation/Pages/default.aspx
 - You can verify that there is *ongoing* work:
   http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/log/
 - The developers ask for testing:
   http://airlied.livejournal.com/60180.html
   Generaly David Airlie's blog (http://airlied.livejournal.com/)
   has a lot of info about radeonhd.

The simplest test is to boot Fedora-10 Live-CD. It contains
support for Kernel-Mode-Setting for some ATI chipsets. The
minimal things to check (IMO) are:
 - If the boot is graphical and transition smoothly into
   the login screen (will only happen on KMS supported chipets).
 - If after login you can activate desktop-effects (depends on
   3D acceleration).

If you can test these and send /var/log/Xorg.0.log we would all be
greatfull to you. TIA.

-- 
Oron Peled Voice/Fax: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
LINUX is tied fairly closely to the 80x86. Not the way to go. 
- LINUX is obsolete, Andy Tanenbaum, 29 Jan 92. 

To unsubscribe, 
send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: from my experiance: I wouldn't recommend ati

2008-12-18 Thread Hetz Ben Hamo
Erez,

The latest versions of Ubuntu, as well as Fedora and OpenSuSE 11.x use
the latest Xorg server which *does not* need the /etc/xorg.conf file.
Everything regarding the card is being done automatically (probing
etc), so when you install Fedora 10 for example, you won't find this
file.

I assume that ATI tools do try to find this file, do a bit of parsing
and modifying it. Since its not there, I suggest you re-create it with
your distribution specific tools. X --configure creates a really
messy file. Try to create a file with a settings for the open source
driver, and then feed this to the atitool.

It's really not the sweatiest land here in NVidia world. I'm using a
Windows XP machine here for some tests with Geforce 8500 1GB RAM and
I'm testing some VMWare stuff. I spent a whole day to find something
which is so simple with ATI: When a program sits on another
non-primary monitor, when you make it full screen, it should be full
screen on *that* monitor (VMWare full screen, not maximized window)
and *not* on primary monitor. ATI have this function working for years
in windows and guess what? not possible in NVidia's twinview mode.
You can use the nView crappy stuff, but still vmware insists open full
screen on primary monitor.

So it really depends who develops your Linux driver. nVidia, Although
not opening their driver's source code, is really trying to put any
feature that their cards have to be supported under Linux. CUDA,
PurePlay, Twinview etc - all suported under Linux these days with 1
driver and easy install. ATI - a total nightmare on Linux, specially
for the latest distributions.

Hetz

On Thu, Dec 18, 2008 at 9:23 AM, Erez D erez0...@gmail.com wrote:

 If you arg thinking of buying a new graphic card, and want to choose ati 
 i wouldn't recommend that.


 Although oficially ati has catalyst drivers for their new cards  - it 
 didn't work on mine (which is supported)


 i have recently bought a new computer. my old one had nvidia , and my new has 
 ati 4550 passive.

 on nvidia, as i recall. if i didn't have distribution specific drivers, i 
 could install the binary one.
 picking it was easy. there was only one to pick from.
 i installed it, and it worked.
 on ubuntu, there was a distribuition speceific driver and it worked out of 
 the box

 in ati - i had to choose from a list of around 20. neither had 4550 as an 
 option. i chose the one marked as 'X550'
 i installed the driver, it didn't tell me if it was the right driver or not.
 rebooting as they asked, and running X, i got a distorted screen with 
 horizontal lines on it.

 i erased /etc/X11/xorg.conf, and tried installing the driver again. when i 
 ran aticonfig --initial it refused as i had no xorg.conf
 i tried 'X -configure' (which worked before i installed the driver), but it 
 failed with sig 11.
 and now i do not have X, to find how to uninstall it ...

 it was good i had a backup of my xorg.conf (with the opensource driver)

 ati gave a link to where to send bug reports. i followed the link just to 
 find a page full of information which didn't have any place to put a bug 
 report on.
 after nevigating for some time i found where i can fill a bug report. but i 
 have to register first. i had to fill in many fields like what version of 
 their catalyst driver i was using (and of-course the version which i 
 downloaded the same day from their site wasn't there).
 in the end i filed a bug report and went to bed.

 A day later i got an email: just press this link and login, and you will find 
 an answer
 i loged-in - again many detailes, neither relevant.
 i pressed the link again. this time one link was relevant - it was an answer 
 to my bug report and it was:
 quoting: Although we have drivers for Linux posted on the ATI website, we do 
 not provide technical support for driver or multimedia issues in Linux 
 directly. 

 so i say again. i wouldn't recomend buying from ATI.
 from now on. no ati neither amd for me.

 (with nvidia i used twinview and tv-out. i hope the opensource  ati driver 
 supports this ...)


 cheers,
 erez.





--
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: from my experiance: I wouldn't recommend ati

2008-12-18 Thread Erez D
On Thu, Dec 18, 2008 at 10:37 AM, Oron Peled o...@actcom.co.il wrote:

 On Thursday, 18 בDecember 2008, Erez D wrote:
  i have recently bought a new computer. my old one had nvidia , and my new
  has ati 4550 passive.
  ... [rest of horror story omitted]

 This is a typical usage scenario for binary add-on drivers
 (just google for e.g: ubuntu madwifi)

 What is more interesting is how much had actually advanced in the
 radeonhd (new free software ATI driver):
  - Docs are freely available since end of 2007:
   http://developer.amd.com/documentation/Pages/default.aspx
  - You can verify that there is *ongoing* work:
   http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/log/
  - The developers ask for testing:
   http://airlied.livejournal.com/60180.html
   Generaly David Airlie's blog (http://airlied.livejournal.com/)
   has a lot of info about radeonhd.

 The simplest test is to boot Fedora-10 Live-CD. It contains
 support for Kernel-Mode-Setting for some ATI chipsets. The
 minimal things to check (IMO) are:
  - If the boot is graphical and transition smoothly into
   the login screen (will only happen on KMS supported chipets).
  - If after login you can activate desktop-effects (depends on
   3D acceleration).

tried it. no X


 If you can test these and send /var/log/Xorg.0.log we would all be
 greatfull to you. TIA.

where to send to ?
i'll check when i get home.



thanks,
erez.


 --
 Oron Peled Voice/Fax: +972-4-8228492
 o...@actcom.co.il  
 http://www.actcom.co.il/~oronhttp://www.actcom.co.il/%7Eoron
 LINUX is tied fairly closely to the 80x86. Not the way to go.
- LINUX is obsolete, Andy Tanenbaum, 29 Jan 92.



Re: from my experiance: I wouldn't recommend ati

2008-12-18 Thread Erez D
On Thu, Dec 18, 2008 at 10:52 AM, Hetz Ben Hamo het...@gmail.com wrote:

 Erez,

 The latest versions of Ubuntu, as well as Fedora and OpenSuSE 11.x use
 the latest Xorg server which *does not* need the /etc/xorg.conf file.
 Everything regarding the card is being done automatically (probing
 etc), so when you install Fedora 10 for example, you won't find this
 file.

i am switching (trying to switch) to fedore 10
didn't work out of the box



 I assume that ATI tools do try to find this file, do a bit of parsing
 and modifying it. Since its not there, I suggest you re-create it with
 your distribution specific tools. X --configure creates a really
 messy file. Try to create a file with a settings for the open source
 driver, and then feed this to the atitool.

i created with X --configure on the open source driver.
on the ati binary it failed sith sig11 (segmentation fault)




 It's really not the sweatiest land here in NVidia world. I'm using a
 Windows XP machine here for some tests with Geforce 8500 1GB RAM and
 I'm testing some VMWare stuff. I spent a whole day to find something
 which is so simple with ATI: When a program sits on another
 non-primary monitor, when you make it full screen, it should be full
 screen on *that* monitor (VMWare full screen, not maximized window)
 and *not* on primary monitor. ATI have this function working for years
 in windows and guess what? not possible in NVidia's twinview mode.
 You can use the nView crappy stuff, but still vmware insists open full
 screen on primary monitor.

 So it really depends who develops your Linux driver. nVidia, Although
 not opening their driver's source code, is really trying to put any
 feature that their cards have to be supported under Linux. CUDA,
 PurePlay, Twinview etc - all suported under Linux these days with 1
 driver and easy install. ATI - a total nightmare on Linux, specially
 for the latest distributions.

what i care about is linux support. and it sucked for me on ati


thanks,
erez.



 Hetz

 On Thu, Dec 18, 2008 at 9:23 AM, Erez D erez0...@gmail.com wrote:
 
  If you arg thinking of buying a new graphic card, and want to choose
 ati i wouldn't recommend that.
 
 
  Although oficially ati has catalyst drivers for their new cards  - it
 didn't work on mine (which is supported)
 
 
  i have recently bought a new computer. my old one had nvidia , and my new
 has ati 4550 passive.
 
  on nvidia, as i recall. if i didn't have distribution specific drivers, i
 could install the binary one.
  picking it was easy. there was only one to pick from.
  i installed it, and it worked.
  on ubuntu, there was a distribuition speceific driver and it worked out
 of the box
 
  in ati - i had to choose from a list of around 20. neither had 4550 as an
 option. i chose the one marked as 'X550'
  i installed the driver, it didn't tell me if it was the right driver or
 not.
  rebooting as they asked, and running X, i got a distorted screen with
 horizontal lines on it.
 
  i erased /etc/X11/xorg.conf, and tried installing the driver again. when
 i ran aticonfig --initial it refused as i had no xorg.conf
  i tried 'X -configure' (which worked before i installed the driver), but
 it failed with sig 11.
  and now i do not have X, to find how to uninstall it ...
 
  it was good i had a backup of my xorg.conf (with the opensource driver)
 
  ati gave a link to where to send bug reports. i followed the link just to
 find a page full of information which didn't have any place to put a bug
 report on.
  after nevigating for some time i found where i can fill a bug report. but
 i have to register first. i had to fill in many fields like what version of
 their catalyst driver i was using (and of-course the version which i
 downloaded the same day from their site wasn't there).
  in the end i filed a bug report and went to bed.
 
  A day later i got an email: just press this link and login, and you will
 find an answer
  i loged-in - again many detailes, neither relevant.
  i pressed the link again. this time one link was relevant - it was an
 answer to my bug report and it was:
  quoting: Although we have drivers for Linux posted on the ATI website,
 we do not provide technical support for driver or multimedia issues in Linux
 directly. 
 
  so i say again. i wouldn't recomend buying from ATI.
  from now on. no ati neither amd for me.
 
  (with nvidia i used twinview and tv-out. i hope the opensource  ati
 driver supports this ...)
 
 
  cheers,
  erez.
 
 



 --
 Skepticism is the lazy person's default position.
 my blog (hebrew): http://benhamo.org



Re: from my experiance: I wouldn't recommend ati

2008-12-18 Thread Shlomi Fish
On Thursday 18 December 2008, Erez D wrote:
 If you arg thinking of buying a new graphic card, and want to choose
 ati i wouldn't recommend that.



[Snipped]

 so i say again. i wouldn't recomend buying from ATI.
 from now on. no ati neither amd for me.

 (with nvidia i used twinview and tv-out. i hope the opensource  ati driver
 supports this ...)


My experience with ATI and Nvidia cannot be more different than yours. With my 
old Nvidia GeForce 4 MX card, I had frequent crashes or hangups with the 
proprietary driver. Then when I tried nouveau which is the truly 
open-source driver (the nv driver is written in hex), the screen would 
freeze when switching to the virtual console, etc. and I still didn't have 
3-D. Furthermore, the GeForce 4 was the lowest card to be supported by the 
proprietary nvidia driver, and it is possible they have droppped support for 
it afterwards or are going to soon.

After that card's fan died, I decided to replace it with an ATI card and 
bought an AGP ATI Radeon HD 2600 card. My Mandriva Cooker system detected it 
right after reboot (although used a 16-bit bpp instead of 24-bit which I had 
to fix), and I've been happily using the open-source RadeonHD drivers ever 
since. Now I can switch to virtual consoles and everything works without 
crashes.

I still don't have usable 3-D acceleration (for this I need the proprietary 
fglrx drivers), but it should be supported soon in FOSS, because ATI released 
specifications for that (as opposed to Nvidia), and there's a team working on 
the FOSS drivers.

I blogged about my ATI card here:

http://community.livejournal.com/shlomif_tech/12324.html

I should note, however, that I asked the RadeonHD IRC channel and mailing list 
for guidelines on how I can help in its development and didn't receive any 
good reply.

Regards,

Shlomi Fish



 cheers,
 erez.



-- 
-
Shlomi Fish   http://www.shlomifish.org/
What does Zionism mean? - http://xrl.us/bjn8u

Shlomi, so what are you working on? Working on a new wiki about unit testing 
fortunes in freecell? -- Ran Eilam

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



is openmoko (hardware) really the solution ?

2008-12-18 Thread Erez D
first, i refer to the idea of using a special hardware  - the freerunner.

when i first heard of openmoko - the first open phone, i was very happy.
once and for all i can do whatever i like with my phone, not what
nokia/orange/whatever wants me to do ...

however, i never got to get one (1972/freerunner)- it wasn't sold in israel,
it was not cheep, but the real killer - it was technologically outdated
i have a nokia phone (N95 8GB). it is closed source, but still i can call
using voip over wlan. i have a camera (5MP), i have 3.5G data connection.
from experiance i know i'll only carry one phone with me even if i promise
to carry both ...

i can't take (good) pictures (or motion pictures) with it.
also one thing i wanted an open phone was to use voip over cellular data
connection - i can't with (1972/freerunner) as gprs has too a big latency
..
in the end i didn't jump on the moko train  it is open, but (currently)
crippled by hardware

and coming to think of it, linux didn't catch up by running on dedicated
hardware - we do not use a linux specific display adapter
neither linux specific processor or bus.

what was good about linux, is that it runs on everything (almost) ...


the way i feel openmoko can catch up, is if it is made to run on the latest
phone hardware - (nokia N95 would be my choise), but any modern phone will
do.
i know the regular problems - hardware supports, documents, and a lot of
which have much to loose ...

this time the cellular carriers / manufacturers take the place of the
villain which was formerally reserved for microsoft's (because they have a
lot to loose)

this seems like linux hardware support problem all over again ...


just my 2c

erez.


RE: Samba: convert shadow to smbpasswd.

2008-12-18 Thread Josh Roden
Thanks for the replies.
I was hoping.
HAPPY HANUKA!

-Original Message-
From: Shachar Shemesh [mailto:shac...@shemesh.biz] 
Sent: Thursday, December 18, 2008 8:15 AM
To: Dotan Shavit
Cc: Josh Roden; linux-il@cs.huji.ac.il
Subject: Re: Samba: convert shadow to smbpasswd.

Dotan Shavit wrote:


 Please note that passwords are not transferred automatically from
/etc/passwd 
 to the new /etc/samba/smbpasswd file. After running mksmbpasswd all
accounts 
 are disabled so the system administrator must run smbpasswd for each
account 
 that needs to be enable.

   
I'll expand on that. The passwords on both Linux/Unix and on Windows are

stored encrypted. The reason I am using the quotes is that the 
technical term is not really encryption (a reversible operation given 
the right key), but rather cryptographic hashing, or one way function. 
Given a password, it is easy to calculate its hash (and thus, find out 
whether it is the same password as was given the last time), but given 
just the hash it is not possible to figure out the actual password.

Now here's the catch - /etc/shadow and smb use a different hash function

for storing passwords. In other words, the same password entered as both

a Unix password and a Samba password will end up generating different 
hashed values.

What Josh was asking for is, therefor, impossible. Writing such a tool 
would entail reversing the Unix password hash, which is something we 
would like to think is not possible.

Shachar

To unsubscribe, 
send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: make question

2008-12-18 Thread Oleg Goldshmidt
Jason Friedman write.to.ja...@gmail.com writes:

 Hi all,

 I have had this make question that has been bugging me for a long time.

 I want to fix some eps files using eps2eps. This is the makefile I use:

 figure1_fixed.eps: figure1.eps
 [tab] eps2eps $ $@

 (replace [tab] with the tab character)

 This works fine, but when I have many eps files to convert, I have to
 repeat the command line many times. A similar problem is this one:

 figure2.eps: ../../some/other/path/some_long_ugly_filename.eps

 After lots of googling, I have not been able to find a solution. Is
 there a way to do this in make, if not, can you suggest another tool
 that can do this? I have been running into variants of this problem
 several times.

Hi Jason,

For a fellow Penn State postdoc (I was there in 1995) let me offer a
variant of Omer's solution with some enhancements and a bit simpler
syntax (works with GNU make, I assume this is the case as it is a
Linux list):

##

# list directories where files to be fixed live
VPATH := /long/ugly/path:/some/other/path/too

# list all files to be fixed here
ORIG := figure1.eps figure2.eps 
FIXED := $(ORIG:.eps=_fixed.eps)

# you can override this if eps2eps lives in a 
# different place from default
FIX := /usr/bin/eps2eps

fix:$(FIXED)

%_fixed.eps: %.eps
ifdef HERE
$(FIX) $ $@
else
$(FIX) $ $(dir $)$@
endif

PHONY:  fix

###

With this, simple make fix will put each fixed file in the same
directory with the original, while make fix HERE=yes will collect
the fixed files in the current directory. The makefile searches VPATH
so you can move the originals around, etc. 
 
-- 
Oleg Goldshmidt | p...@goldshmidt.org

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il