Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 10:41:03 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: No longer able to rip CD data under -current. 
Message-ID:  <15891.935916063@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 29 Aug 1999 01:28:18 PDT." <1076.935915298@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help

This could be another si_bsize casualty.

Try this patch

Index: subr_diskslice.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/subr_diskslice.c,v
retrieving revision 1.69
diff -u -r1.69 subr_diskslice.c
--- subr_diskslice.c	1999/08/28 14:33:40	1.69
+++ subr_diskslice.c	1999/08/29 08:39:40
@@ -709,7 +709,7 @@
 	struct diskslices *ssp;
 	int	unit;
 
-	dev->si_bsize_phys = DEV_BSIZE;
+	dev->si_bsize_phys = lp->d_secsize;
 	dev->si_bsize_best = BLKDEV_IOSIZE;
 	dev->si_bsize_max = MAXBSIZE;
 

In message <1076.935915298@localhost>, "Jordan K. Hubbard" writes:
>This worked just fine with -current as of a week ago, and I've changed
>nothing else (the hardware is the exact same).  Now I get the
>following when I attempt to mpegify one of my audio CDs with "ripit"
>
>dscheck: b_bcount 512 is not on a sector boundary (ssize 2048)
>dscheck: b_bcount 512 is not on a sector boundary (ssize 2048)
>(cd0:ahc0:0:4:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
>(cd0:ahc0:0:4:0): ILLEGAL REQUEST asc:64,0
>(cd0:ahc0:0:4:0): Illegal mode for this track
>(cd0:ahc0:0:4:0): cddone: got error 0x16 back
>(cd0:ahc0:0:4:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
>
>- Jordan
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-current" in the body of the message
>

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15891.935916063>