Date: Wed, 31 Mar 2021 22:02:07 -0700 From: Julio Merino <julio@meroh.net> To: Jason Bacon <bacon4000@gmail.com> Cc: freebsd-ppc@freebsd.org Subject: Re: Troubles with USB Message-ID: <CADyfeQUw3_%2Br0i--R1D029=kds4=ZCH9wfYe-eBMuc==%2Bq9LgA@mail.gmail.com> In-Reply-To: <CADyfeQVy8ODVNqosWBtCd7MqZMBJbOSUskYs3OQ2oSOjcXObmw@mail.gmail.com> References: <CADyfeQWRqxXSt-VFRv%2BPEg0KkFZTcy84x6772SwsRYKD92EDig@mail.gmail.com> <c8fada99-3622-8d19-cef9-81a88ccf8224@gmail.com> <CADyfeQVy8ODVNqosWBtCd7MqZMBJbOSUskYs3OQ2oSOjcXObmw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I finally had some time today to get back to this. In the end, I traced the problem with USB drives to the RAM upgrade I performed. Pulling out the extra 8GB I added and leaving the machine with 2GB made the USB drives work again and I could reinstall the system. I'm not sure why my previous attempt at doing this failed. This smells like a bug in FreeBSD to me though. OpenFirmware had no trouble loading the kernel and booting it but FreeBSD was just confused reading from the drives. In fact, if I booted the already-installed FreeBSD, plugged the USB stick in, and ran a "dd" to read the data, all I got were zeroes. And if I tried to unplug and replug the drive, the system would hang. On Wed, Mar 10, 2021 at 6:39 PM Julio Merino <julio@meroh.net> wrote: > Well, note that the USB stick and drive that I mentioned had previously > worked on this machine. And OpenFirmware still sees them well and can boot > the loader and kernel just fine. It's FreeBSD the one that gets confused > when mounting the root file system... > > On Mon, Mar 8, 2021 at 6:30 AM Jason Bacon <bacon4000@gmail.com> wrote: > >> >> I've had similar trouble, which I mentioned on this list in the past. >> The PowerMac is finicky about USB sticks. It seems that it does work >> with U3 drives and other newer drives. I was only able to boot from one >> older 2 GB drive that has since burned out, so I'm unable to upgrade at >> the moment, given that my optical drive can't read DVDs. >> >> If you can find a USB stick the same vintage as the PowerMac, your luck >> might change. >> >> JB >> >> On 3/7/21 10:18 PM, Julio Merino wrote: >> > However, here is where the strangeness starts. I want to repartition the >> > boot (SSD) drive now... and I just cannot get the installer to work >> again. >> > Using the same image as before and the same USB stick, the installation >> > kernel loads without issues from OpenFirmware... but as soon as it >> starts >> > loading /sbin/init, things start failing left and right. It feels as if >> > there is I/O corruption when reading from the USB drive given that the >> > system reports "invalid binary files" and segfaults everywhere. (I tried >> > with another drive and found the same problem. I'm pretty sure the >> drive is >> > good given that it can be read from another system.) >> >> >> -- >> Earth is a beta site. >> >> >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >> > > > -- > jmmv.dev > -- jmmv.dev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyfeQUw3_%2Br0i--R1D029=kds4=ZCH9wfYe-eBMuc==%2Bq9LgA>