> On Wednesday 08 October 2008 04:33:25 pm Fernan Aguero wrote:
> > > On Wednesday 08 October 2008 06:15:15 am Fernan Aguero wrote:
> > > > > Did anyone who can trigger the data corruption has tried John's patch
> > > > > and let us know if it worked?
> > > > 
> > > > Not yet. My problem is that it's not that easy ... (at least
> > > > for me, but maybe I'm missing something). 
> > > > 
> > > > The main issue for me is that I don't have a spare box
> > > > running 7.x. All my FreeBSD boxes are running 6.x
> > > > 
> > > > I've tried to make a new 7.1-BETA bootable ISO from the
> > > > patched sources (make release), but failed ... this is the
> > > > first time I've ever attempted this, and it seems that you
> > > > cannot do that from a 6.x box (I have a full CVS mirror of
> > > > FreeBSD, and a fresh checkout of RELENG_7).
> > 
> > > You can just grab the existing iso, 
> > 
> > OK
> > 
> > > untar it into a directory, 
> > 
> > OK
> > 
> > > build your own GENERIC kernel and replace the
> > > /boot/kernel/kernel in the iso tree, 
> > 
> > Will I be able to do this using a 7.x checkout on a 6.x box?
> 
> You can use 'make kernel-toolchain' followed by 'make buildkernel' on a 6.x 
> box to build a 7.x kernel though.
> -- 
> John Baldwin

John, 

thanks for the tip. I have now successfully gone through
the process of making a new bootable CD using the ATA_HT1000
patched kernel.

I have already done a minimal installation of
FreeBSD-7.1-BETA onto the SC1435 PowerEdge box using this CD
(BTW dmesg now shows the ad4 disk being recognized as
SATA150 instead of giving a warning about a bad cable and
recognizing it as an ATA drive). 

But I'm stuck at the last step ... 

> Just be sure that once you've installed the box,
> you copy the updated kernel onto the box somehow before you
> reboot from the
> installer (you can use the fixit shell to help with this).

I'm at the holographic emergency shell, and df(1) shows all
the partitions in ad4s1 mounted under /mnt. So my idea is to 
  cp boot/kernel/kernel /mnt/boot/kernel/
but when I do an ls(1) the /mnt directory appears to be empty ...

However I'm unable to umount it!

My recollection:
$ df -h
/dev/ad4s1a     => /mnt
/dev/ad4s1d     => /mnt/tmp
/dev/ad4s1e     => /mnt/usr
...
$ ls /mnt/boot
boot: no such file or directory
$ ls /mnt/
. ..
$ umount /mnt
device is busy

I'm now downloading a 7.1-BETA-livefs ISO and I'll try next to boot
the box with this CD to see if I can scp the kernel from
another box ... but any other tip or suggestion is welcome.

Fernan



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to