[PC-BSD Testing] Fwd: Upgrade from 9.2 to 10 RELEASE problem

Claudio L. claudio at hpgcc3.org
Fri Jan 31 18:23:03 PST 2014

A couple of observations:

One error I was receiving was "cuse4bsd: Bad executable format" when the 
kernel was trying to load this module.
So I did:

pkg remove cuse4bsd-kmod
pkg install cuse4bsd-kmod

and that solved the problem, now the module loads correctly.
The big question is: why was that executable corrupted? the pkg manager 
verifies the checksum of the packages it downloads, right? So how can a 
properly downloaded file result in a corrupted executable after install?

Another thing I observed is that while trying to fix the mouse (which is 
still not working, by the way), I did:

pc-updatemanager pkgupdate -f

To my surprise, it complained about checksum mismatch in one package, 
which promptly downloaded, and reinstalled some 800 packages (all 
packages had been downloaded yesterday during the previous repair).
Why a package that was properly downloaded and installed yesterday now 
has a checksum mismatch? It's the same version (package: foo2zjs).

Is it possible that something is wrong with checksum checking? or that 
data is being corrupted on the disk (or RAM)? This system uses ECC Ram, 
but corruption due to kernel bugs (AMD radeon driver??) is one possible 
I cannot understand that cuse4bsd was corrupted and now this one package 
out of 800 had a checksum problem today but not yesterday.

And now the final issue:
Any more ideas to fix the mouse? Reinstalling all packages didn't fix 
it. I see an error complaining that /dev/psm0 doesn't exist during boot.

I'll dig for more error messages tomorrow.
To clear any doubts: this machine dual boots with Windows 7 and the 
mouse works perfectly fine. As a matter of fact, I have a mouse and a 
graphing tablet (both USB) connected, and they both used to work fine 
simultaneously on PCBSD, now they're both dead, so it's a drivers issue.


On 1/30/2014 10:08 AM, Ken Moore wrote:
> On 01/30/2014 09:02, Ken Moore wrote:
>> On 01/30/2014 07:36, Curt Dox wrote:
>>> On Thu, Jan 30, 2014 at 6:20 AM, Claudio L. <claudio at hpgcc3.org
>>> <mailto:claudio at hpgcc3.org>>wrote:
>>>     Hello,
>>>     I did the update that came as a package yesterday to my 9.2.
>>>     It seems pkg-static failed after the update, so now I have a 10
>>>     world, which boots, but when X starts I see the 9.2 background
>>>     screen briefly then the screen goes back to text mode and stays
>>>     black.
>>>     Ctrl-Alt-F1 works, but the screen never recovers (stays black). I
>>>     can blindly login as root and issue a reboot, so the system
>>>     hasn't crashed, but I think all packages are still from 9.
>>>     What can be done (other than reinstalling 10 from scratch)? I can
>>>     get into single user mode, but pkg-static fails.
>>>     Any ideas?
>>>     Thanks.
>>>     Claudio
>>>     _______________________________________________
>>>     Testing mailing list
>>>     Testing at lists.pcbsd.org <mailto:Testing at lists.pcbsd.org>
>>>     http://lists.pcbsd.org/mailman/listinfo/testing
>>> Surely others may give better or more complete advice, so I defer to
>>> those who actually have PC-BSD 10.0 installed.
>>> However, if I were in your boat, I would attempt to get to single
>>> user mode, mount the needed drives/pools then comment-out the desktop
>>> manager (either gdm or pcdm) line of /etc/rc.conf which would stop
>>> the automatic startup of X.  From there, I would be able to tinker
>>> with the system to solve the problem.  My first thought about solving
>>> the issue would be to look at the 'convert FreeBSD to PC-BSD' page on
>>> the wiki, since it would have the relevant information for hopefully
>>> getting your X working again.  If its some other cause, at least from
>>> a not-automatic-X situation, things can be attempted more easily.
>>> I wish you success!
>>> _______________________________________________
>>> Testing mailing list
>>> Testing at lists.pcbsd.org
>>> http://lists.pcbsd.org/mailman/listinfo/testing
>> I would log in as root, then re-run the pkg command to force
>> re-install of all your packages:
>> ------------
>> pkg-static -fy upgrade
>> ------------
>> --
>> ~~ Ken Moore ~~
>> PC-BSD/iXsystems
>> _______________________________________________
>> Testing mailing list
>> Testing at lists.pcbsd.org
>> http://lists.pcbsd.org/mailman/listinfo/testing
> Additionally, it might be a good idea to run:
> -------------
> pkg install pcbsd-base
> -------------
> Just to make sure that you have everything setup for a basic graphical
> system... :-)
> --
> ~~ Ken Moore ~~
> PC-BSD/iXsystems
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

More information about the Testing mailing list