Just to answer my own query for the benefit of the archive.
My problem was caused by DMA being enabled for atapi devices in
/boot/loader.conf removing 'hw.ata.atapi_dma="1"' fixed all my
woes. (This setting is not ther by default, i had picked it up from
my laptop config).
On Wed, Jan 21, 2004 at 02:12:52PM +0000, Geoff Buckingham
wrote:>
> I have now tried this with a 4.9 /boot and still see the same problem.
>
> I also added the atacontrol binary to my mfs_root and tried detachng the
> ata channel with the cd re-attaching and re-initialising it.
>
> I still get the same invalid argument error.
>
> As I can't fix this with atacontrol can I assume the problem is with
> the initialisation of the kernel by the loader rather than the loader
> leaving the cd in a unknown state?
>
> How is the PXEboot which allows mount_cd9660 to work differ from a no
> emulation cdboot?
>
> Moved to stable as I am now 100% 4.x (was using /boot from 5.2 before)
>
>
> On Tue, Jan 20, 2004 at 10:45:54AM +0000, Geoff Buckingham wrote:
> > On Tue, Jan 20, 2004 at 09:23:47AM +0000, Geoff Buckingham wrote:
> > >
> > > For reasons I wont bore people with, I am trying to produce a
bootable CD
> > > using /boot from 5.2 (minus kernel and modules) boot a 4.9 kernel
and
> > > mfs_root.
> > >
> > > This works fine however once booted trying to mount the iso9660
fs from the
> > > CD produces the error:
> > >
> > > cd9660: /dev/acd0c: Invalid argument
> > >
> > > booting the same kernel and mfs_root bits from a 4.9 pxeboot via
tftp I am able
> > > to succesfully mount the same CD on the same hardware (DL 360 G1)
> > >
> > > Anyone know what I am doing wrong?
> >
> > Should add this is a no emulation boot.
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
"freebsd-current-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"