Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-28 Thread bremner
At Thu, 27 Nov 2003 13:56:03 -0400,
Bremner David wrote:
 
 /dev/pass0: flushing cache
 /dev/pass0: closing track
 - [unable to TEST UNIT READY]: Input/output error
 

Following up to myself again; are we annoyed yet?

Anyway, I remember reading about someone trying burncd fixate in a
similar situation, so I did. It prints an error message, but seems to
work.   This is with a Plextor PX708A.

convex# burncd -f /dev/acd0 fixate
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error

To summarize, here is what I had to do to get writing DVD+R media
working on FreeBSD 5.1-current (Nov 10), on a Plextor PX708A.  (DVD+RW
worked out of the box with burncd -f /dev/acd0 dvdrw data.iso
fixate).

1) roll ata-lowlevel.c back to version 1.22
2) enable atapicam in the kernel
3) rebuild/reinstall kernel
4) install dvd+rw-tools from ports.
5) use 
growisofs -Z /dev/cd0=premastered.iso
to burn the disk (no idea if premastered makes a difference).
6) use 
burncd -f /dev/acd0 fixate
to close the session.  
7) Ignore the error message from burncd.

Hope this helps.

db




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-27 Thread David Bremner
At Thu, 27 Nov 2003 00:07:30 -0600,
Dan Nelson wrote:
 
 In the last episode (Nov 27), Bruce Evans said:
  [Resending due to no response after 2 weeks.]
  
  Rev.1.23 of ata-lowlevel.c broke atapicam on my BP6 system as shown
  by the enclosed boot -v messages (the system just hangs, apparently
  waiting for a disk interrupt that never arrives; there seems to be no
  timeout).
 
 If it's any consolation: me too :)  Backing out 1.23 worked for me as
 well.  The system that I saw the hang on isn't SMP.  I also
 pre-emptively patched another SMP system before I had to drive in to
 fix it if it hung. 

I have a 5.1-current system of Nov 10, also using rev 1.23 of
ata-lowlevel.c.

Without atapicam in the kernel, it boots ok. With atapicam in the
kernel it hangs at the messages (written down from the screen)

(probe2:ata1:0:0:0): Retrying Command
(probe3:ata1:0:1:0): Retrying Command
(probe2:ata2:0:0:0): error 22
(probe4:ata2:0:0:0): Unretryable Error

there are a bunch (15?) more lines like this, and then it just hangs.

db



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-27 Thread David Bremner

At Thu, 27 Nov 2003 08:54:53 -0400,
Bremner David wrote:
 
 I have a 5.1-current system of Nov 10, also using rev 1.23 of
 ata-lowlevel.c.
 
 Without atapicam in the kernel, it boots ok. With atapicam in the
 kernel it hangs at the messages (written down from the screen)
 
 (probe2:ata1:0:0:0): Retrying Command
 (probe3:ata1:0:1:0): Retrying Command
 (probe2:ata2:0:0:0): error 22
 (probe4:ata2:0:0:0): Unretryable Error
 
 there are a bunch (15?) more lines like this, and then it just hangs.
 
 db

Hmm. with revision 1.22 of ata-lowlevel.c, the system boots with the
atapicam device, and writing DVD+R media with growisofs seems to
_almost_ work. Unfortunately, almost isn't worth much in these kind of
things.

growisofs -Z /dev/cd0=premastered.iso 

gets to the end of writing and prints 

/dev/pass0: flushing cache
/dev/pass0: closing track
- [unable to TEST UNIT READY]: Input/output error

the resulting coaster won't mount 

convex# mount /dev/cd0 /mnt
mount: /dev/cd0: Input/output error

dvd+rw-mediainfo /dev/cd0 reports

- [unable to READ DVD STRUCTURE#0 ()]
INQUIRY:[PLEXTOR ][DVDR   PX-708A  ][1.02]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 1Bh, DVD+R
READ DVD STRUCTURE[#11h]:
 Current Write Speed:   2.4x1385=3324KB/s
 Write Speed #0:2.4x1385=3324KB/s
READ DISC INFORMATION:
 Disc status:   appendable
 Number of Sessions:1
 State of Last Session: incomplete
 Next Track:  1
 Number of Tracks:  2
READ TRACK INFORMATION[#1]:
 Track State:   partial
 Track Start Address:   0*2KB
 Next Writable Address: 1566080*2KB
 Free Blocks:   0*2KB
 Track Size:1566080*2KB
READ TRACK INFORMATION[#2]:
 Track State:   complete
 Track Start Address:   1566096*2KB
 Next Writable Address: 1566096*2KB
 Free Blocks:   729008*2KB
 Track Size:729008*2KB
FABRICATED TOC:
 Track#1  : [EMAIL PROTECTED]
 Track#AA : [EMAIL PROTECTED]
 Multi-session Info:[EMAIL PROTECTED]


Coastering for the cause,

db

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-26 Thread Dan Nelson
In the last episode (Nov 27), Bruce Evans said:
 [Resending due to no response after 2 weeks.]
 
 Rev.1.23 of ata-lowlevel.c broke atapicam on my BP6 system as shown
 by the enclosed boot -v messages (the system just hangs, apparently
 waiting for a disk interrupt that never arrives; there seems to be no
 timeout).

If it's any consolation: me too :)  Backing out 1.23 worked for me as
well.  The system that I saw the hang on isn't SMP.  I also
pre-emptively patched another SMP system before I had to drive in to
fix it if it hung. 

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]