a867 Problem booting 7 Stable - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old November 24th, 2008, 09:19
francach francach is offline
Junior Member
 
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem booting 7 Stable

Hi,

I updated my system to 7 Stable from 6.3 Release on Thursday. uname shows 7.1_PRERELEASE #1 Nov. 20
The kernel is GENERIC.
I followed the usual procedure:
csup tag=RELENG_7
make buildworld
make kernel mykern=GENERIC
make install kernel
make install world
mergemaster


When I boot normally (Option1 or Option 5 in the boot menu), the system hangs for a minute at the ATA driver probe with the message:
ata1: stab0=0x80 err=0xff isb=0xff

and then lands at:

trying to mount root from ufs:/dev/ad2s3a
mountroot>

/dev/ad2s3a is the correct device for the root filesystem.

If I boot with boot -s into single user mode
I can get everything going with

mount -u 7
mount -a
swapon -a
ctrl D

So I guess the problem isn't in the kernel itself or one of the modules which are loaded. Maybe it's a parameter to the boot_loader? Does anybody have any hints?

Thanks.
Reply With Quote
  #2  
Old November 24th, 2008, 09:30
kamikaze's Avatar
kamikaze kamikaze is offline
Member
 
Join Date: Nov 2008
Location: /earth/europe/germany
Posts: 366
Thanks: 6
Thanked 66 Times in 45 Posts
Default

The GENERIC kernel now has static device IDs. That means the device number might have changed, because it's numbered by the port your hard disk is attached to. /dev/ad2 now is the primary disk of the second ata channel. It might somehow be connected to that. To make sure reinstall the boot loader (though it doesn't look like that's the problem). If you're using the interactive one boot0cfg is the command you seek.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ...
sysutils/automounter: amd(8) based automounting without HAL
contact: kamikaze@bsdforen.de

Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything.
Reply With Quote
  #3  
Old November 24th, 2008, 11:30
francach francach is offline
Junior Member
 
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kamikaze View Post
The GENERIC kernel now has static device IDs. That means the device number might have changed, because it's numbered by the port your hard disk is attached to. /dev/ad2 now is the primary disk of the second ata channel. It might somehow be connected to that. To make sure reinstall the boot loader (though it doesn't look like that's the problem). If you're using the interactive one boot0cfg is the command you seek.
Hi,

I think I did my previous reply wrong.
Just wanted to say that when I boot in single user mode, the boot process doesn't stall at the ata driver probe at all and the device node must be correct otherwise the mount command call couldn't function correctly.
Reply With Quote
  #4  
Old November 25th, 2008, 19:45
francach francach is offline
Junior Member
 
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As I follow on..
I found out that this is probably due to a problem in the ata code which slipped in with 6.3 There should be a patch coming soon.
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
BTX fault booting FreeBSD 6.3 amd64 on VMware Server 2 Christopher Installing & Upgrading 4 November 21st, 2008 05:04
ipfw nat in 7.0-stable raVen Firewalls 1 November 18th, 2008 04:57


All times are GMT +1. The time now is 13:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0