Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2010, 09:22 AM
krzabr krzabr is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default BTX Loader Problem in Combinded Controlers
I've discovered bug with BTX loader on combined ATA/*ATA controlers.

I have 3 HDD :

1 x 160 GB on
Intel(R) 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller — 27C0
2 x 250 GB on
Pole Wartość
Intel(R) 82801G (ICH7 Family) Ultra ATA Storage Controllers — 27DF

Problem occur only during booting PCBSD is ALL sata modes by BTX loader - Bootloader halts on BIOS Drive Read.

Problem events only In PCBSD since 8.0, earlier versions normally boot .Also if I Disable sata mode in BIOS System normally boot.
Problem also don't accur if I boot PCBSD from FreeBSD boot loader , eg after upgrade.
Reply With Quote
  #2  
Old 02-07-2011, 08:02 AM
ljuspunkt ljuspunkt is offline
Junior Member
 
Join Date: Feb 2011
Location: Sweden
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same here
Hi,

i just posted "the same" after searching the forum and not finding this post:

http://forums.pcbsd.org/showpost.php...8&postcount=23

i am not able to find a "good" mode for my controller in my bios, all available alternatives are resulting in this hanging (which lasts > 1,5 min)

How did you upgrade to the FreeBSD loader?

Greetings,
Harpal
Reply With Quote
  #3  
Old 03-18-2011, 01:04 AM
benali72 benali72 is offline
Junior Member
 
Join Date: Mar 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem confirmed
4 posters (phpwolf, mikew777, Zyzzy, and benali72) appear to have confirmed this bug in this thread.

Phpwolf resolved it by a BIOS change for device detection and concluded -- "it is obvious a problem with the HDD detection and it happends on PC-BSD > 7.0 (try with 7.0 and you'll see it works)."

So workarounds at this point are --

1. Change BIOS setting to alter HDD detection
2. Physically change HDD/adapter
3. Run PC-BSD 8.2 in a virtual machine such as Oracle VirtualBox
4. Use an older PC-BSD release such as 7.x

At this point, this appears to be a true bug that needs to be fixed.
Reply With Quote
  #4  
Old 03-18-2011, 07:29 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Problem confirmed
Has anybody done a quick check of a 9-Snapshot to confirm this problem
still exists there?

I'll take a look how FreeBSD is using mkisofs now, maybe a different
option fixes this. Aside from that, the files on the disk should be
identical, no patches or anything.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #5  
Old 03-18-2011, 10:02 PM
benali72 benali72 is offline
Junior Member
 
Join Date: Mar 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Confirmations by more tests
I downloaded the 9 snapshot (PCBSD9-CURRENT-20110315-x64-bootonly.iso) from here and encountered the exact same problem.

I downloaded FreeBSD 8.2 and did not have the problem, it booted fine. PC-BSD 7 also booted fine.

So my belief is that there is some difference between PC-BSD 8.2 -- versus PC-BSD version 7 and also FreeBSD 8.2.

Thank you.

BTW, I should probably add one relevant fact here. My hardware is a HP Pavilion a6667c dual-core and it has 2 hard disks -- one is a standard SATA drive, the other is an IDE/PATA drive connected to the SATA port on the motherboard by way of a PATA->SATA hardware converter plug (described here). This hardware works fine with PC-BSD v7 and FreeBSD 8.2 described above, as well as many Linux distros (Ubuntu, Puppy, etc), and also Windows. But I thought it might be useful to mention it here as PHPWOLF and I believe the problem has something to do with HDD detection.

Last edited by benali72; 03-18-2011 at 10:09 PM.
Reply With Quote
  #6  
Old 03-19-2011, 01:55 AM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Confirmations by more tests
Thanks for the info. I've made some adjustments to our next 9-snapshot in a week or so, it should be using the exact same options as traditional FreeBSD now. Would you be willing to give it a whirl when its ready?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #7  
Old 03-19-2011, 03:23 AM
benali72 benali72 is offline
Junior Member
 
Join Date: Mar 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Looking forward to it
Hey, fantastic! I'd be glad to try it out. I'm looking forward to the new v 9 benefits. Thanks.
Reply With Quote
  #8  
Old 03-29-2011, 02:28 AM
benali72 benali72 is offline
Junior Member
 
Join Date: Mar 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default New Tests -- results
I downloaded and tried the new 9-CURRENT-20110327 and got the same result. It hung at the same point as before.

To verify this is a disk recognition problem, as we suspect, I disconnected my IDE drive (connected to a SATA motherboard interface, as described in a previous message in this thread).

This left me with 1 SATA disk connected by normal SATA cable to the SATA motherboard interface. This booted fine.

This verified that the problem is indeed due to boot loading with combined controllers.

Thanks.

Last edited by benali72; 03-29-2011 at 04:46 AM.
Reply With Quote
  #9  
Old 09-01-2011, 03:39 AM
kingneutron kingneutron is offline
Member
 
Join Date: May 2005
Posts: 53
Thanks: 6
Thanked 0 Times in 0 Posts
Unhappy
--Looks like I have the same problem, again... ( warning, a bit of a long and detailed rant ahead )

Root is ZFS, booting off an 80 GB SATA drive in AHCI mode on the motherboard

--Several other drives are attached via SATA and a several-years-old IDE ATA-133 PCI card (for versatility)
Code:
' cat /compat/linux/proc/partitions '
major minor  #blocks  name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
0 0 248985525760 da0p2 0 0 0 0 0 0 0 0 0 0 0
0 0 1073741824 da0p1 0 0 0 0 0 0 0 0 0 0 0
0 0 215058138624 ada1s10 0 0 0 0 0 0 0 0 0 0 0
0 0 31009273344 ada1s9 0 0 0 0 0 0 0 0 0 0 0
0 0 8504907264 ada1s8 0 0 0 0 0 0 0 0 0 0 0
0 0 10248666624 ada1s7 0 0 0 0 0 0 0 0 0 0 0
0 0 40007729664 ada1s6 0 0 0 0 0 0 0 0 0 0 0
0 0 1028127744 ada1s5 0 0 0 0 0 0 0 0 0 0 0
0 0 20003848704 ad4s1 0 0 0 0 0 0 0 0 0 0 0
0 0 248984443904 ada2p2 0 0 0 0 0 0 0 0 0 0 0
0 0 1073741824 ada2p1 0 0 0 0 0 0 0 0 0 0 0
0 0 305857005568 ada1s3 0 0 0 0 0 0 0 0 0 0 0
0 0 7106641920 ada1s2 0 0 0 0 0 0 0 0 0 0 0
0 0 7106609664 ada1s1 0 0 0 0 0 0 0 0 0 0 0
0 0 2097152000 ada0s1d 0 0 0 0 0 0 0 0 0 0 0
0 0 77404831744 ada0s1b 0 0 0 0 0 0 0 0 0 0 0
0 0 524288000 ada0s1a 0 0 0 0 0 0 0 0 0 0 0
0 0 80031006720 ada0s1 0 0 0 0 0 0 0 0 0 0 0
0 0 250059350016 da0 0 0 0 0 0 0 0 0 0 0 0
0 0 122942324736 ad8 0 0 0 0 0 0 0 0 0 0 0
0 0 120034123776 ad6 0 0 0 0 0 0 0 0 0 0 0
0 0 0 cd0 0 0 0 0 0 0 0 0 0 0 0
0 0 20019314176 ad4 0 0 0 0 0 0 0 0 0 0 0
0 0 250058268160 ada2 0 0 0 0 0 0 0 0 0 0 0
0 0 320072933376 ada1 0 0 0 0 0 0 0 0 0 0 0
0 0 80032038912 ada0 0 0 0 0 0 0 0 0 0 0 0

' lspci ' # from port, Snipped
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7300 GS] (rev a1)
03:00.0 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02)
05:01.0 RAID bus controller: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 02)
--PCBSD refuses to boot sometimes - hangs for 10-15 minutes at the BTX loader 1.02 and lists drives A-I, then the Spinner hangs. Sometimes it reboots on its own, sometimes it will continue after the hang.

Needless to say, I'm INTENSELY frustrated at this point. I was really having fun with the PCBSD desktop yesterday, watching windows flip in 3D and hacking on stuff left and right; I installed a bunch of ports, made Copious Notes(TM) and then shutdown for the day to save power.

Now I come home, wanting to decompress from work, and have a little FUN - and PCBSD has b0rked itself -- AGAIN. It actually booted at first - but then KDE wasn't working right. Panel didn't come up, windows weren't launching, general frustrating stupid crap. So I rebooted. Kernel hung on loading the Nvidia driver. Tried rebooting again (with full-on unplug-the-power-supply this time) And now the damn thing doesn't even want to boot unless I wait 15-20 minutes for $SOMETHING to time out.

--Guys, I do PC support 8 hours a day -- 6 days a week. I **NEED** the d--n PC to be Stable when I get home, just for my peace of mind!

There are SO MANY good things about PCBSD that I *do like* - but it's really acting more like Alpha software for me at this point, than "Stable."

--Please, sombody help me... I will post just about any diagnostic you want.

** Update: Looks like ZFS is confused about the zpools - I tend to boot with different disks attached, depending on what I want to test. Lemme try one more time...

Code:
  pool: tank2-500
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
        replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-3C
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank2-500   UNAVAIL      0     0     0  insufficient replicas
          gpt/ada0  UNAVAIL      0     0     0  cannot open
          gpt/ada2  ONLINE       0     0     0
--Linux handles this kind of variable-disks boot configuration quite well, by using UUID and LABEL on the disk partitions... If I need to recreate my zfs pool with labels or whatever, PLEASE tell me the best way to do it. I'm not finding a whole lot out there on the 'net, and the pool was originally created under Freenas and Imported for PCBSD... We need a Best Practices for creating labelled zpools...

*****

PS- please excuse me for bitching a little bit here, but Really -- Why are things still this primitive in 2011? BSD is still booting in 80x25 mode on a 1920x1080 monitor (I mean, don't get me wrong - I actively *dislike* boot-time splash graphics, OK -- but without even "vga=ext" available unless I Recompile the kernel??) -- and we still don't even have the ' fdisk -l ' functionality that is commonplace since the 90's in Linux userland? (Yes, I did install the fdisk-linux pkg; it gives me an error that it can't find /proc/partitions. And no, trying to make that symlink in /proc doesn't work.)

Don't get me wrong, I am **absolutely** willing to beta test and help fix things wherever possible - and I do see flashes of brilliance in ZFS and PCBSD. But I feel a bit like Bones in Star Trek 4: my experience so far is mostly still tantamount to the Dark Ages, compared to what I was expecting.

*** Update 2:

--After redoing my hard-disk power supply configuration and waiting -another- 15 minutes to boot, looks like the zpool sorted itself out correctly:
Code:
  pool: tank2-500
 state: ONLINE
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	tank2-500   ONLINE       0     0     0
	  gpt/ada0  ONLINE       0     0     0
	  gpt/ada2  ONLINE       0     0     0
	spares
	  gpt/da6   AVAIL
--However, KDE is still borked. Looks like something is wrong with graphical effects or something - it's just not acting right. I keep getting error, "graphical effects were too slow and have been turned off - use alt-shift-F12" or something. It was working fine yesterday. (IIRC, I did make a few changes to window-position Remember settings in KDE - but it was working fine until poweroff.) I have switched to fluxbox wm in the meantime to try some hacking. It's a good thing I have another working computer...

--Tried cleaning certain items in ~/.kde4 -- no joy. Deleted ~/.kde4 - yeeaah, good thing I backed it up 1st. Whole theme is gone. My God, where does it end?

--Whellp, good thing I tarred up the whole system to the Linux box a couple of days ago. I was able to restore ~/.kde4 dir from backup and chown it, and all is well again in KDE-land for now. Only took about 2.5 hours out of my "downtime" today, that I reeeeally didn't need to mess with after the crazy month I've had so far, but oh well.

--I'm a little afraid to touch things in the GUI now; this beast seems a bit too fragile for my liking. I'm just bein' honest here.

*****

--BTW - To anyone reading this, *Please* forgive me if I come across as being a little volatile at the moment. I'm worried about some personal things that are going on in the background on a daily basis -- and besides, it's FREEBSD for Godsake -- I just want it to Work so I can have fun with it! :-\

--FYI: I've been using various distros continually since ~1997 - and pretty much only run Windoze in a VM anymore, when not at work. Freebsd, Openbsd, OS/2, Vmware, SuSE, CentOS, Debian, Ubuntu, DOS since 2.11, yadda yadda. I've used them all and got to know their various depths. I accidentally symlinked over the BASH shell binary and was able to recover from that --without rebooting-- on this same PCBSD install the other day. If *I* find these "usability" issues with PC-BSD Intensely Frustrating, your Regular Joe Sixpack is going to find it Intolerable - and go back to $other-OS.

--I report these ... adventures ... in the spirit of wanting to help improve the distribution as a whole; so please, bear with me. I am honestly trying to assist others, in whatever way I can.

Originally Posted by benali72 View Post
I downloaded and tried the new 9-CURRENT-20110327 and got the same result. It hung at the same point as before.

To verify this is a disk recognition problem, as we suspect, I disconnected my IDE drive (connected to a SATA motherboard interface, as described in a previous message in this thread).

This left me with 1 SATA disk connected by normal SATA cable to the SATA motherboard interface. This booted fine.

This verified that the problem is indeed due to boot loading with combined controllers.

Thanks.
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


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.