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



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

2005-04-12 Thread Willie Wong
On Tue, Apr 12, 2005 at 10:16:11PM -0400, 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
> 

my 2 cents:

I usually use

cdrecord -dao -v speed=24 fs=2m dev=/dev/cdrw driveropts=burnfree -data 


Kernel 2.6 and above with newer versions of cdrecord (forgot what
versions on) allows using the above syntax for devices, so that you
don't need SCSI emulation anymore. 

Usually I use DAO because personally I have better luck burning that
way. 

W

> 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

-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

JCPenney and a major car rental company have merged.
Shareholders reportedly will receive letters headed
"Penney's on the Dollar".
(Ouch, that Hertz...will they go National?)
Sortir en Pantoufles: up 1 day, 16:17
--
gentoo-user@gentoo.org mailing list



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

2005-04-13 Thread Harald Arnesen
"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)?
-- 
Hilsen Harald.

--
gentoo-user@gentoo.org mailing list



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

2005-04-13 Thread Damian KoÅkowski
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 JÃrg
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 .
  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:

 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 KoÅkowski (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 Graham Murray
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



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

2005-04-13 Thread Robert G. Hays
You got (mildly!) lucky.
Congratulations!  I mean that. 

Most people get away with that.  Some don't, some releases don't.
May you never have problems with it.
rgh.
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
 

--
gentoo-user@gentoo.org mailing list


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

2005-04-13 Thread Richard Fish
William Kenworthy wrote:

>Kernel devs having arguments with the
>developer of the main cd burning tool
>  
>

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 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.

-Richard

--
gentoo-user@gentoo.org mailing list



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

2005-04-13 Thread Ognjen Bezanov
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
>
>
>  
>
Likewise, I have never had any problems with linux burning. In fact I
had far more problems with Windows (especially ASPI errors and BSODS
during CD finalizing ).

With linux it was so easy to burn CDs. Just emerged cdrecord, did a
-scanbus to find my CD-RW Drive and burned away. Later on I emerged K3B
and found it a very good program for my needs. And likewise had very few
errors with it ( the errors were my fault in the first place).

I dont really see a mess. For me its quite clean actually. You have a
CD-burning program (cdrecord in my case), and you have a GUI frontend
for it (in this case K3B).
you tell cdrecord where you drive is and it works, it may complain about
ATAPI issues but this never impacted my CD-burning. No tweaking or
tuning needed.

Also while it may need a bit of work to get running, once its setup i
will never need to set anything up again until i reinstall linux (i.e. a
while ;) ).

--
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-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-14 Thread Trey Gruel
> I get the impression that Schilling doesn't like Linux and thinks the
> kernel should be changed to suit his program.

from what i've read, he thinks that solaris is the greatest thing
since sliced bread and that all oses should operate exactly the same
as solaris..  he also thinks that all devices should be referenced the
same as scsi devices in solaris - bus/target/lun naming instead of
/dev/cdrw (or whatever device you want to access)

-- 
trey

--
gentoo-user@gentoo.org mailing list



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

2005-04-16 Thread Phill MV
Alright, sorry about the delay (coffee with friends and school took priority).

I upgraded to  2.6.11-gentoo-r4 and emerge'd sync after that.
This time around I took my time picking only what I have (I built my
previous kernel to run on about 5 different machines) and stripped any
reference to SCSI in order to make my life easier.

I also re-emerged cdrtools (yet again) and tried a few variations of
the commands you folks suggested.

cdrecord -dao --dev=ATAPI:0,0,0 /pkg.iso
cdrecord -dao -v speed=24 dev=ATAPI driveropts=burnfree -data /pkg.iso
cdrecord -dao dev=/dev/cdroms/cdrom0 /pkg.iso
cdrecord -dao dev=/dev/hdc /pkg.iso

and so on -- all of which simply not doing anything after warning me
that I have no DMA.

k3b hangs showing me its flash screen while 'scanning for CD devices'.

You can see my lspci, dmesg and current kernel .config here
http://phpfi.com/58204 (I lack a server to upload things to, so sorry
about the inconvinience)



On 12/04/05, Damian KoÅkowski <[EMAIL PROTECTED]> wrote:
> 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 JÃrg
> 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 .
>   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:
> 
>  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
> 

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

2005-04-16 Thread Richard Fish
Phill MV wrote:

>cdrecord -dao dev=/dev/hdc /pkg.iso
>
>and so on -- all of which simply not doing anything after warning me
>that I have no DMA.
>  
>

>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'.
2. The IDE cable is not damaged (you might just want to replace it with
a spare, if you have one).
3. The IDE cable is not more than 18" long.  I think this one is really
really really critical.
4. If you have another device on the same channel, make sure it is
configured as a slave.
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?

-Richard

-- 
gentoo-user@gentoo.org mailing list



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-20 Thread Richard Fish
Phill MV wrote:

>>2. The IDE cable is not damaged (you might just want to replace it with
>>a spare, if you have one).
>>
>>
>
>Replaced it.
>
>  
>
>>4. If you have another device on the same channel, make sure it is
>>configured as a slave.
>>
>>

Well the only other simple thing I can think of is to disconnect the
other CD-ROM drive, and see if you get the same behavior with just the
burner on that channel.

After that, things start getting expensive, and start with buying a new
burner...

My guess is still a hardware fault, unless someone else here has another
suggestion??

-Richard

-- 
gentoo-user@gentoo.org mailing list