Re: [Soekris] RESOLVED: Problem on net5501 upgrading to FreeBSD 9.1 from 8.3

2013-02-18 Thread Corey Halpin
On 2013-02-17, Corey Halpin wrote:
   I have a net5501-70 which is running FreeBSD 8.3.  It's got one internal 
 SATA HD from which it boots, and also has a couple of external drives 
 connected via a USB hub.  No expansions cards are installed. 
 
   I attempted to update it to 9.1-RELEASE following the instructions here:
   http://www.freebsd.org/releases/9.1R/installation.html#AEN36
 
   When I reboot into the 9.1 kernel, the boot process chokes with:
 
   Mounting from ufs:/dev/ufsid/49fabde14312a481 failed with error 19.

  I've discovered that if I set FLASH=Secondary, such that the hard drive 
appears as the primary, then the machine boots properly.

~crh


pgpL1IoSEA1XM.pgp
Description: PGP signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] RESOLVED: Problem on net5501 upgrading to FreeBSD 9.1 from 8.3

2013-02-18 Thread Greg Troxel

Corey Halpin chal...@cs.wisc.edu writes:

 On 2013-02-17, Corey Halpin wrote:
   I have a net5501-70 which is running FreeBSD 8.3.  It's got one internal 
 SATA HD from which it boots, and also has a couple of external drives 
 connected via a USB hub.  No expansions cards are installed. 
 
   I attempted to update it to 9.1-RELEASE following the instructions here:
   http://www.freebsd.org/releases/9.1R/installation.html#AEN36
 
   When I reboot into the 9.1 kernel, the boot process chokes with:
 
   Mounting from ufs:/dev/ufsid/49fabde14312a481 failed with error 19.

   I've discovered that if I set FLASH=Secondary, such that the hard drive 
 appears as the primary, then the machine boots properly.

That sounds like a potential bug in 9.1, where it doesn't find a
secondary drive if the primary one is missing.


pgp8M4UO_l7we.pgp
Description: PGP signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] RESOLVED: Problem on net5501 upgrading to FreeBSD 9.1 from 8.3

2013-02-18 Thread Corey Halpin
On 2013-02-18, Greg Troxel wrote:
 Corey Halpin chal...@cs.wisc.edu writes:
I've discovered that if I set FLASH=Secondary, such that the hard drive 
appears as the primary, then the machine boots properly.
 
 That sounds like a potential bug in 9.1, where it doesn't find a
 secondary drive if the primary one is missing.

  Perhaps, but I don't feel like I have sufficient knowledge of the relevant 
standards, the details of how the net5501 has implemented them, and the code 
in FreeBSD to jump to that conclusion.

 I don't know if the code in 9.1 is using IDE emulation or trying to get 
configuration information via AHCI.  If it's AHCI, then I don't know how the 
net5501 is representing secondary with no primary in AHCI terms, nor do I 
know if it's valid AHCI, nor do I know the details of how 9.1 is parsing this 
information.  Furthermore, I don't know if 8.3 was using IDE emulation or 
AHCI, and I don't know how (or if) the AHCI handling has changed from 8.3 to 
9.1.

  Since I don't know these things, I can't say I have much interest in 
speculating about them.

  Perhaps the information I've posted here will be sufficient for people who 
*do* have sufficient domain knowledge to track down whatever bug may exist 
either in the FreeBSD code or in the net5501's firmware.  I am not that 
person, and unfortunately lack the spare cycles to become that person.

  In the mean time, at least the list archives now document a workaround for 
whomever else bumps into this issue.

~crh


pgpTc_syphx7k.pgp
Description: PGP signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] RESOLVED: Problem on net5501 upgrading to FreeBSD 9.1 from 8.3

2013-02-18 Thread Warner Losh

On Feb 18, 2013, at 9:22 AM, Corey Halpin wrote:

 On 2013-02-18, Greg Troxel wrote:
 Corey Halpin chal...@cs.wisc.edu writes:
  I've discovered that if I set FLASH=Secondary, such that the hard drive 
  appears as the primary, then the machine boots properly.
 
 That sounds like a potential bug in 9.1, where it doesn't find a
 secondary drive if the primary one is missing.
 
  Perhaps, but I don't feel like I have sufficient knowledge of the relevant 
 standards, the details of how the net5501 has implemented them, and the code 
 in FreeBSD to jump to that conclusion.
 
 I don't know if the code in 9.1 is using IDE emulation or trying to get 
 configuration information via AHCI.  If it's AHCI, then I don't know how the 
 net5501 is representing secondary with no primary in AHCI terms, nor do I 
 know if it's valid AHCI, nor do I know the details of how 9.1 is parsing this 
 information.  Furthermore, I don't know if 8.3 was using IDE emulation or 
 AHCI, and I don't know how (or if) the AHCI handling has changed from 8.3 to 
 9.1.
 
  Since I don't know these things, I can't say I have much interest in 
 speculating about them.
 
  Perhaps the information I've posted here will be sufficient for people who 
 *do* have sufficient domain knowledge to track down whatever bug may exist 
 either in the FreeBSD code or in the net5501's firmware.  I am not that 
 person, and unfortunately lack the spare cycles to become that person.
 
  In the mean time, at least the list archives now document a workaround for 
 whomever else bumps into this issue.

Maybe this is due to ATA_STATIC?

I do know the handling of ahci changed between 8 and 9, and there were even 
device name changes, but I don't have a 5501 to see if that would have been 
affected by that...

Warner
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech