Re: [gentoo-user] ATAPI burning doesn't work

2005-04-19 Thread Phill MV
 From your dmesg output, it looks like you have some kind of hardware
 problem.  Have you double checked that your cabling and hardware
 configuration is good?  Some things to check:
 
 1. That the burner is jumpered correctly for 'master'.

Done/

 2. The IDE cable is not damaged (you might just want to replace it with
 a spare, if you have one).

Replaced it.
 3. The IDE cable is not more than 18 long.  I think this one is really
 really really critical.

See above.
 4. If you have another device on the same channel, make sure it is
 configured as a slave.

Done.
 5. If 4 is true and the other device is a HD, the HD should be hdc and
 the burner hdd. And an 80-conductor cable would be required in this case
 I think.
 
 Your dmesg output didn't show the IDE device configuration messages from
 when the kernel booted..too many IDE errors.  Maybe you can reboot and
 post a basic dmesg output?

http://phpfi.com/58626

But of course.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-14 Thread Neil Bothwick
On Wed, 13 Apr 2005 20:21:28 +0200, Richard Fish wrote:

 To me, this is really the crux of the issue.  Fortunately, I've never
 had many problems using cdrecord, but Jorg Schilling and the kernel
 developers have very ugly disputes about how the kernel should treat CD
 burners and how cdrecord should get access to them.

I get the impression that Schilling doesn't like Linux and thinks the
kernel should be changed to suit his program.

 I suspect at some
 point someone will fork cdrecord to make a linux specific version, but
 that person is likely to get as many flames as thanks.

That has happened as far as DVD writing is concerned, with growisofs. If
only it handled CDs too.


-- 
Neil Bothwick

Bother said Rue, as his paranoia spread across the publicly accessible
archives


pgpEl3qhQhvAg.pgp
Description: PGP signature


Re: [gentoo-user] ATAPI burning doesn't work

2005-04-13 Thread Damian Kokowski
Phill MV wrote:
 Doing cdrecord -tao --dev=ATAPI:0,0,0 /pkg.iso as root (0,0,0 being my
 cdr/w drive) yields  a few warnings like
 
 cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6
 cdrecord: There are unsettled issues with Linux-2.5 and newer.
 cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
 scsidev: 'ATAPI:0,0,0'
 devname: 'ATAPI'
 scsibus: 0 target: 0 lun: 0
 Warning: Using ATA Packet interface.
 Warning: The related Linux kernel interface code seems to be unmaintained.
 Warning: There is absolutely NO DMA, operations thus are slow.
 
 and a useless terminal window, permanently waiting on something I
 can't identify.
 
 
 Any help? I would've burned this in windows hadn't windows started
 BSOD'ing every other reboot (I'm on fresh reinstall #2 and no time
 left).

.~. $ cdrecord dev=ATAPI:/dev/hdc -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg
Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005
Maximilian Decker

NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to burbon04 at gmx.de.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.11.7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:/dev/hdc'
devname: 'ATAPI:/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8480B ' '1.03' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
.~. $

It's for udev!

If you have, as I see devfs please use: dev=ATAPI:0,0,0 for example.

 kernel is Linux-2.6.10-gentoo-r6, and the following can be found in my config:
 
 * ATA/ATAPI/MFM/RLL support
 
*   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
 
--- Please see Documentation/ide.txt for help/info on IDE drives 
 
[ ] Support for SATA (deprecated; conflicts with libata SATA 
 driver) 
[ ] Use old disk-only driver on primary interface
 
* Include IDE/ATA-2 DISK support   
 
[*]   Use multi-mode by default  
 
* Include IDE/ATAPI CDROM support  
 
  Include IDE/ATAPI TAPE support (EXPERIMENTAL)
 
* Include IDE/ATAPI FLOPPY support 
 
* SCSI emulation support  
[ ] IDE Taskfile Access  

--- IDE chipset support/bugfixes 

* generic/default IDE chipset support

You have wrong configuration.

Please use:

M Include IDE/ATAPI CDROM support (MODULE IS BETTER)
  SCSI emulation support (EMULATION WORKS WITH OLD KERNEL, NOT
WITH THIS)
[*]   Use multi-mode by default (ONLY IF YOU HAVE MORE THEN 1
IDE/ATA DISK)
  generic/default IDE chipset support (THERE IS NO NEED FOR THIS)

And better please send me yours:

1. kernel config for this 2.6.10-gentoo-r6
2. dmesg output
3. lspci

I will reconfigure your kernel, thats no problem for me :-)


P.S. Maby you can swith to: latest ACCEPT_KEYWORSD=x86 with newest
gentoo-sources, and use udev with 2005.0 profile?

-- 
### Damian Kokowski (dEiMoS) ## http://kolkowski.no-ip.org/ ###
# echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ #
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-13 Thread William Kenworthy
I am not talking about coasters, but the scsi emulation loops one has to
jump through,  long howtos that are so generic they leave the average
user groping in the dark.  Kernel devs having arguments with the
developer of the main cd burning tool and not sitting down and mapping a
way forward so the user is left having to burn as root, or using patches
designed to bypass the problem.  Some ways to address a burner used DMA,
some dont allow it.  Some systems can use /dev/hdX, some require magick
in the form of /dev/cdroms/cdrom0, others as ATAPI:0,0,0 but not all are
equal and not all will work depending on kernel and software versions.

Then if you sort it out and finally get burning again, you upgrade the
kernel and find it doesnt work, so you start again ...

Then there's the software itself - I used to like gcombust, simple
reliable and it worked - then it couldnt deal with the non-scsi stuff.
Then I found nautilus-cd-burner - great for the quick job.  The kernel
mess cured me of that (I will go back to it when it starts working
again).   I have now settled on k3b, but I wonder how long that will
keep working ...

This is worse on gentoo than systems like Mandrake and redhat because
their philosophy allows them to modify the upstream software for their
users in ways that are difficult for gentoo to do (i.e., patch around
the kernel nonsense which I presume they have done because CD burning
just seems to work for them.  I setup my first burner in the Mandrake 6
days - that was a nightmare!  They now simplify things for their users -
I am not saying gentoo should go this route, but cd-burning has far to
much black magic involved at the moment.

Sorry if I sound a bit bitter, but this is a real pain for the average
user (gentoo or otherwise).  And dont say if you tweak this and tune
that it will work, thats bunk, of course I do that I do that, and it
will work, but not for long.  Its fixing the whole CD burning mess thats
needed.

BillK


On Wed, 2005-04-13 at 10:31 +0200, Harald Arnesen wrote: 
 W.Kenworthy [EMAIL PROTECTED] writes:
 
  CD burning and linux is just not nice in all the years I have used
  linux - and it seems to be getting worse, not better.
 
 I have over the years burned thousands of CDs, and got about a handful
 of coasters. Are you sure you use good quality discs and a decent
 burner (Plextor, maybe some others)?
-- 
William Kenworthy [EMAIL PROTECTED]
Home!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-13 Thread William Kenworthy
I look after multiple systems (all gentoo/doze at the moment, but other
distros -except debian - over the past ~10 years)  Trust me, there are a
lot of failures in amongst the success stories like yours.  I am not
saying things have not improved (/dev/hdX is nice when it works), often
a clean, new install will work out of the box (like yours) but its the
whole thing that needs attention, standardisation and a general cleanup.
I would also wait until your install has aged a couple of years or so
like some of mine (first gentoo was 1.0, still going though has been
incrementally upgraded to a current 2.6) and look back on the travails
you have had!

If you just installed it and it works, are you using 2.6 or 2.4,
scsi,ATAPI,hdX,/dev/cdroms/cdromX and is it working with/without DMA,
can you burn as a user, does the users favourite CD burning software
work, how about multiple users.  If all this works, you are quite lucky
in my experience of the current state of the art.  Windoze users are
luckier in this way - theirs mostly just works - though I have had cases
where I had to reinstall the whole OS in order to get it to work with
users because of permission problems with the initial install of a
package!

BillK

On Wed, 2005-04-13 at 16:56 +0100, Graham Murray wrote:
 William Kenworthy [EMAIL PROTECTED] writes:
 
  Sorry if I sound a bit bitter, but this is a real pain for the average
  user (gentoo or otherwise).  And dont say if you tweak this and tune
  that it will work, thats bunk, of course I do that I do that, and it
  will work, but not for long.  Its fixing the whole CD burning mess thats
  needed.
 
 Might I be so bold as to ask what mess?. I have been using Linux for
 some years, Gentoo only for about 9 months, and bought my first CD/DVD
 burner at Christmas. I just installed it (placed into drive bay,
 connected up IDE and power cables), emerged k3b (which pulled in lots
 of dependencies) and it 'just worked'. I did not have to 'tweak' any
 settings (OK, I did read the USE flag descriptions and set the ones
 which looked appropriate before emerging k3b)
 --
 gentoo-user@gentoo.org mailing list
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-12 Thread W.Kenworthy
Try using /dev/hdX notation instead - there's some advantages to it with
2.6 (DMA is one)  However I have found it just as flakey at times.

CD burning and linux is just not nice in all the years I have used
linux - and it seems to be getting worse, not better.

BillK

On Tue, 2005-04-12 at 22:16 -0400, Phill MV wrote:
 So, I suddenly need to burn some cds in linux. 
 k3b installed, I pop that little cd in the case and make me an iso of /pkg. 
 I goes, you burn me that baby and watch it, well, not do anything. At all.
 
 The cd recorder drove up a bit then stopped making sound. The status
 window has been 'preparing write process' for the past 10 mins.
 Pressing cancel, instead of promptly canceling it, has it stall some
 more until I force quit it.
 
 Doing cdrecord -tao --dev=ATAPI:0,0,0 /pkg.iso as root (0,0,0 being my
 cdr/w drive) yields  a few warnings like
 
 cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6
 cdrecord: There are unsettled issues with Linux-2.5 and newer.
 cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
 scsidev: 'ATAPI:0,0,0'
 devname: 'ATAPI'
 scsibus: 0 target: 0 lun: 0
 Warning: Using ATA Packet interface.
 Warning: The related Linux kernel interface code seems to be unmaintained.
 Warning: There is absolutely NO DMA, operations thus are slow.
 
 and a useless terminal window, permanently waiting on something I
 can't identify.
 
 
 Any help? I would've burned this in windows hadn't windows started
 BSOD'ing every other reboot (I'm on fresh reinstall #2 and no time
 left).
  
 
 kernel is Linux-2.6.10-gentoo-r6, and the following can be found in my config:
 
 * ATA/ATAPI/MFM/RLL support
 
*   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
 
--- Please see Documentation/ide.txt for help/info on IDE drives 
 
[ ] Support for SATA (deprecated; conflicts with libata SATA 
 driver) 
[ ] Use old disk-only driver on primary interface
 
* Include IDE/ATA-2 DISK support   
 
[*]   Use multi-mode by default  
 
* Include IDE/ATAPI CDROM support  
 
  Include IDE/ATAPI TAPE support (EXPERIMENTAL)
 
* Include IDE/ATAPI FLOPPY support 
 
* SCSI emulation support  
[ ] IDE Taskfile Access  

--- IDE chipset support/bugfixes 

* generic/default IDE chipset support
 
 --
 gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-12 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

 kernel is Linux-2.6.10-gentoo-r6

Let me guess, it all used to work perfectly until you upgraded to
2.6.10? If this is the case, then I had similar problems. I cannot say
for sure if gentoo found and fixed the errors in their own patched
version (I use vanilla kernels), however in the default 2.6.10 kernel I
encountered 2 major problems (and a third point):

I) I *did* have to reinstall (recompile) cdrtools else it bombed out
each time with really strange warnings (and I got new coasters each time
too).
II) Possibly not relevant, but linux-2.6.10 has a bug with ISO-9960
filesystems (*.iso), which may also (possibly) interfere with burning.
III) I know you are using ATAPI, but the use of IDE-SCSI emulation would
hard-freeze the kernel every time too. Make sure you remove (if you
haven't) any IDE-SCSI modules (or built in) totally, as they should not
be used anyway with 2.6 ~ if you have it that is.

Initially I solved it by using patches from Alan Cox, however I upgraded
to 2.6.11 the minute it was released, as I would encounter from time to
time (after 10+ days uptime) a hard-lockup of the complete system
without warning (and no logs/dmesg output).

Basically what I am trying to say is that there are several major bugs
in 2.6.10 relating directly to cd-writing. The chances are that if you
upgrade/downgrade kernerl's you will solve it IMHO.

Maybe this helps somewhat ;-)

Greetings
Ralph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCXLCxAWKxH5yWMT8RAv0iAKCbXahS1RS0ksRGZT7bY2jN5Au7MQCcCSL/
YHTJoWBphjz+pfO19bgMiTw=
=YUB4
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burning doesn't work

2005-04-12 Thread Walter Dnes
On Tue, Apr 12, 2005 at 10:16:11PM -0400, Phill MV wrote
 So, I suddenly need to burn some cds in linux. 
 k3b installed, I pop that little cd in the case and make me an iso of /pkg. 
 I goes, you burn me that baby and watch it, well, not do anything. At all.
 
 The cd recorder drove up a bit then stopped making sound. The status
 window has been 'preparing write process' for the past 10 mins.
 Pressing cancel, instead of promptly canceling it, has it stall some
 more until I force quit it.
 
 Doing cdrecord -tao --dev=ATAPI:0,0,0 /pkg.iso as root (0,0,0 being my
 cdr/w drive) yields  a few warnings like

  My twice-monthly backup (run as root) consists of creating a tar.bz and
moving it to directory xfer and running (via a script)...

mkisofs -R xfer | cdrecord -tao -v fs=8m -data dev=ATAPI:0,1,0 -

  The equivalant for your system would be...

cdrecord -tao -data dev=ATAPI:0,0,0 /pkg.iso

  I wonder if the --dev in your invocation is throwing it off.

-- 
Walter Dnes [EMAIL PROTECTED]
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
gentoo-user@gentoo.org mailing list