DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default After an update stable doesn't boot

Hi

I just did a system update and after I've rebooted it doesn't boot up any
more.
All I'm getting is a blank screen with a cursor blinking at the top left
corner of the screen after the POST has finished.

This system was running 7.0-STABLE build in June if I can remember correctly.
I can boot the system with a life cd and get into fixit, but I have no idea what to do next.

Any ideas as to how I can get it back up?

Thanks
hamba
Reply With Quote
  #2   (View Single Post)  
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

plz, describe how we're you upgrading screen, does boot loader load?
What happens then?
Reply With Quote
  #3   (View Single Post)  
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

thanks for the quick reply

I followed the normal way of updating /usr/src using csup
then
make buildworld
make buildkernel
make installkernel
mergemaster -p
make installworld
mergemaster
shutdown -r now

Nothing comes up, this is the weird part, I would have though at least to get the loader but it doesn't happen

All I see after the POST is a blinking cursor.
Reply With Quote
  #4   (View Single Post)  
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

NOW, that is weird....
What tag did you use in supfile?




P.S. took me so long to replay, cause i was messing with my PC's guts, and for moment i was thinking that i killed bough 160GB HDD and 512MB of 2GB ram
Reply With Quote
  #5   (View Single Post)  
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

hehe, no problem

I'm using RELENG_7 for the tag

I am on the freebsd-stable mailling list as well and was asked to give a little more info on fdisk.
Here it is
Code:
# fdisk ad12
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 312576642 (152625 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
and from
Code:
# boot0cfg -v ad12
#    flag     start chs    type      end chs    offset         size
1    0x80      0:  1: 1    0xa5    1023:254:63      63    312576642

version=1.0   drive=0x80    mask=0xf   ticks=182
options=packet,update,nosetdrv
default_selection=F1 (Slice 1)
I even tried to reinstall the boot manager using sysinstall with no luck at all
Reply With Quote
  #6   (View Single Post)  
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

...ad12.... how many disks do you have?
Reply With Quote
  #7   (View Single Post)  
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

there are 6 disks on it
ad10
ad12
ad18
ad22
ad6
and ad8

ad12 is where I have Freebsd installed on using UFS, the rest of the
drives are all for a zfs pool
Reply With Quote
  #8   (View Single Post)  
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

can you disconnect power to rest of disks for now....
Let's see what is going on...

do you have zfs support build in kernel?
if not you may want to try to disable it at boot (comment out line in loader.conf)

anyway, disconnecting rest of drives(just plug out power cable), might be good idea to try, for now, while we have no idea, what is going on
Reply With Quote
  #9   (View Single Post)  
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

no zfs is not compiled into the kernel.
I'll comment them out and unplug the drives.

Lets see what happens
Reply With Quote
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

hmm, you know... giving a thought.... it's not zfs fault....
kernel is only loaded after boot menu.... which doesn't appear...
however disconnect disks
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

hmm, I unplugged all the drives except for ad12 and guess what, it booted

Now to figure out why it failed with all the drives
Reply With Quote
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

Now plug each drive one by one, and see which drive causes problems....
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

3 down 3 to go

this looks like it might just work
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

ah ha

the problem looks like it's coming from the pci raid controller
All the internal drives are working fine but as soon as I plug in a drive on the raid controler all the weirdness starts again.

thanks for the help
Reply With Quote
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

ok, so that seams to be hardware problem...
it's very weird that it appeared just after update
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

yeah I know and that the controller doesn't have any drives assigned for booting
I had a look and I can't even see an option on the controller to set the drives for booting
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

one more question

how will zfs handle it if I changed the raid controller on this box?
Reply With Quote
Old 23rd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

i have no idea....
I use FBSD only as my desktop so far...
never had experience with raid

But i think it should be ok....
Reply With Quote
Old 23rd October 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

hehe, never mind
I went into the raid controllers bios and removed everything and rebooted.
Now FreeBSD is booting the way it should and zfs is still working the way it always have

Thanks for the help, now I can finally go home and get some sleep

Have a good night
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ln -f at boot doesn't work lordyan OpenBSD General 3 19th February 2009 03:50 PM
NetBSD pre-release 5 doesn`t boot welkin NetBSD Installation and Upgrading 4 6th January 2009 10:13 PM
FreeBSD doesn't boot purak FreeBSD Installation and Upgrading 7 9th October 2008 05:24 PM
/dev/ulpt0 doesn't respond Shagbag OpenBSD General 3 7th July 2008 03:50 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM


All times are GMT. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick