atapicam broken by ata_lowlevel.c rev.1.23

bremner at unb.ca bremner at unb.ca
Thu Nov 27 09:56:15 PST 2003


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 (FFFFFFFF)]
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  :             17 at 0
 Track#AA :             17 at 4294770689
 Multi-session Info:    #1 at 0


Coastering for the cause,

db




More information about the freebsd-current mailing list