FreeBSD core dumps on FTP update

Chaotic42

Lifer
Jun 15, 2001
33,946
1,123
126
I just installed FreeBSD 5 on my new laptop, and it works really well. My only problem is that it won't update over the internet. It gets about 130K into the update and it core dumps.

Searching on Google turned up a lot of people having this problem, but I didn't see any ideas on how to fix it.

It dumps both with the default kernel and with one I made myself.

Does anyone know how to fix this?
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
I haven't seen this problem on any of my machines , but if you are running a GENERIC kernel , is it possible to do a freebsd-update fetch and freebsd-update install ?
 

Chaotic42

Lifer
Jun 15, 2001
33,946
1,123
126
Originally posted by: djdrastic
I haven't seen this problem on any of my machines , but if you are running a GENERIC kernel , is it possible to do a freebsd-update fetch and freebsd-update install ?

You mean from the command line? I don't seem to have "freebsd-update" installed.

I'm pretty new to FreeBSD, but I do have huge 862-page book about it. It doesn't seem to cover this problem.
 

Chaotic42

Lifer
Jun 15, 2001
33,946
1,123
126
Here's what I get when I try to upgrade:

-
Extracting base into / directory
1025 bytes read from base dist chunk 1 of 39

Bus error (core dumped)
pid 534 (sysinstall), uid0: exited on signal 10 (core dumped)
-

I haven't tried cvsup yet.

Edit:

Okay, I tried burning a 5.4 CD on my main system and upgrading using it. I still get a core dump. Maybe I should just reinstall with 5.4?
 

BeanDip

Member
Apr 25, 2004
45
0
0
If you don't have much time (and customizations) invested in the laptop it probably would be easier to start over.

Otherwise you could try freebsd-update.

To install freebsd-update type pkg_add -r freebsd-update and then you might have to type rehash if still using the default shell.

Then type:
cp /usr/local/etc/freebsd-update.conf.sample /usr/local/etc/freebsd-update.conf
mkdir /usr/local/freebsd-update
freebsd-update fetch
freebsd-update install


I don't think that the ports have anything to do with your problem but you might want to follow the handbook to update them along with the portupgrade utility.
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
As far as I can remember freebsd-update is also available via the sysinstall utility , if you select packages If I can remember correctly

As BeanDip said you might have to do a reinstall :(
 

Chaotic42

Lifer
Jun 15, 2001
33,946
1,123
126
Thanks for the replies.

I did reinstall. Twice. Then I tried to install with a 5.4 CD. It failed about 25% of the way through.

I don't like giving up, but I needed my computer up and running, so I installed Debian on it. It's running like a champ.
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Damn That Sucks , The only thing that I can think of is that FreeBSD does not like some part of your pc , be it ACPI,Memory or IDE / SATA controller


Ah well , all is not lost
You chose a great 2nd choice distro : )