kern/60163
Chiharu Shibata
chi at bd.mbn.or.jp
Wed Feb 15 04:59:12 PST 2006
(During server maintainance, it seems that my mail wasn't send outgoing...)
At Tue, 14 Feb 2006 01:03:37 JST, you wrote...
># mount -t cd9660 /dev/acd0 /cdrom
>mount_cd9660: /dev/acd0: Invalid argument
>
>As suggested by you:
># mount -t cd9660 /dev/acd0t02 /cdrom
>mount_cd9660: /dev/acd0t02: Input/output error
I've got reports from 2 testers(6.0-RELEASE-p4 and 5.4-Stable), and same
result as this.
PS.
[http://people.freebsd.org/~ariff/misc/releng5_ata.diff]
| --- usr.sbin/cdcontrol/cdcontrol.c.orig Wed Feb 16 02:29:43 2005
| +++ usr.sbin/cdcontrol/cdcontrol.c Wed Feb 16 02:33:13 2005
| @@ -73,6 +73,7 @@
| #define STATUS_AUDIO 0x1
| #define STATUS_MEDIA 0x2
| #define STATUS_VOLUME 0x4
| +#define SESSION_SECTORS (152*75)
|
| struct cmdtab {
| int command;
| @@ -1004,6 +1005,12 @@
| e[1].addr.msf.frame);
| else
| next = ntohl(e[1].addr.lba);
| + if (e[1].track < 100) {
| + if (!(e->control & 4) && (e[1].control & 4))
| + next -= SESSION_SECTORS;
| + else if ((e->control & 4) != (e[1].control & 4))
| + next -= 150;
| + }
| len = next - block;
| /* Take into account a start offset time. */
| lba2msf (len - 150, &m, &s, &f);
My another patch contains this process(shortend length of last audio track)
on kernel level.
If interested, please refer to the following.
<http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/74432>
(this is very *old* patch, but enough to read essence)
--
Chiharu Shibata chi at bd.mbn.or.jp <http://www32.ocn.ne.jp/~chi/>
More information about the freebsd-hackers
mailing list