[Bug 194534] [freebsd-update] upgrade from FreeBSD-10-RELEASE to FreeBSD-10.1RC2 system fail to boot.

2015-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194534

Glen Barber g...@freebsd.org changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Feedback Timeout

--- Comment #4 from Glen Barber g...@freebsd.org ---
I am unsure if this is still an issue, given the feedback provided, however
10.1-RC2 is no longer supported, and several freebsd-update(8) ENs have been
issued since the 10.1-RELEASE to address several issues.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 9.X+ securelevel=2 S.M.A.R.T.?

2015-07-07 Thread John-Mark Gurney
Todor Todorov wrote this message on Fri, Jul 03, 2015 at 08:50 +0300:
 I know it's not a new topic but still did not find a proper solution.
 
 As all know starting from 9.X branch the disk access is changed and
 using securelevel=2 breaks the smartmontools to get disk health status.
 
 Is there a way to keep both security and functionality as in previous
 releases?
 
 Any ideas, articles, guides?

Per the securelevel man page:
 2 Highly secure mode - same as secure mode, plus disks may not be
   opened for writing (except by mount(2)) whether mounted or not.

smartmontools uses a special passthrough mode of the disk to send
custom commands to the disk...  If the passthrough mode is allowed in
this level, then smartmontools could write to the disk violating the
guarantee that disks may not be written to in multiuser mode...

This is probably a result of the switch from the old ata framework to
now where ata is part of the cam framework...  I'd say that the fact
smartmontools worked pre 9.x is a bug...

You might want to look at the MAC framework[1] where you can have
finer grained control of what is allowed and disallowed on your system
if you care this much about security...

[1] https://www.freebsd.org/doc/handbook/mac.html

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 All that I will do, has been done, All that I have, has not.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD_STABLE_10-i386 - Build #252 - Failure

2015-07-07 Thread jenkins-admin
FreeBSD_STABLE_10-i386 - Build #252 - Failure:

Check console output at 
https://jenkins.freebsd.org/job/FreeBSD_STABLE_10-i386/252/ to view the results.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: pkg 1.5.0 is out

2015-07-07 Thread Baptiste Daroussin
On Tue, Jul 07, 2015 at 07:38:18PM +0200, Ulrich Spörlein wrote:
 2015-07-01 13:38 GMT+02:00 Baptiste Daroussin b...@freebsd.org:
 
  On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote:
   On 04/21/15 12:34, Slawa Olhovchenkov wrote:
On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote:
   
Hi all,
   
Final pkg 1.5.0 has been released.
   
  
   Hi,
  
   Is there a way the external SAT solver functionality can be memory
   optimised? When trying to use this feature having +750 packages
   installed, the memory usage starts growing and growing beyond 4GBytes
   until PKG segfaults, even before the CNF export has started.
  
   env SAT_SOLVER=mysolver pkg upgrade
 
  Probably, but given the little amount of time pkg developers has we will 
  greatly
  appreciate patches :)
 
  AKA this would be greatly appreciated, but very low on the priority list :(
 
  Best regards,
  Bapt
 
 
 Hijacking this, I managed to mess up my local pkg repo somehow.
 
 I build my own set of packages, and typically do pkg upgrade on the
 clients. This time, I tried pkg upgrade -F, which went and downloaded
 everything and that's fine. But now when I run pkg upgrade it claims
 everything is already updated?
 
 root@coyote:~# pkg --version
 1.5.4
 root@coyote:~# pkg upgrade
 Updating acme repository catalogue...
 acme repository is up-to-date.
 All repositories are up-to-date.
 Checking for upgrades (68 candidates): 100%
 Processing candidates (68 candidates): 100%
 Checking integrity... done (0 conflicting)
 Your packages are up to date.
 
 
 So let's try brute forcing this:
 
 root@coyote:~# pkg install `pkg info -aqo`
 Updating acme repository catalogue...
 acme repository is up-to-date.
 All repositories are up-to-date.
 databases/db48 has no direct installation candidates, change it to db5? 
 [Y/n]: Y
 Assertion failed: (0), function pkg_jobs_try_remote_candidate, file
 pkg_jobs.c, line 821.
 Child process pid=60776 terminated abnormally: Abort trap
 Exit 250
 
 
 Using more force:
 
 root@coyote:~# pkg upgrade -f db48
 Updating acme repository catalogue...
 acme repository is up-to-date.
 All repositories are up-to-date.
 db48 has no direct installation candidates, change it to db5? [Y/n]: y
 pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE
 name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed:
 packages.name
 The following 1 package(s) will be affected (of 0 checked):
 
 Installed packages to be UPGRADED:
 db5: 4.8.30.0_2 - 5.3.28_2
 
 The process will require 37 MiB more space.
 12 MiB to be downloaded.
 
 Proceed with this action? [y/N]: y
 Fetching db5-5.3.28_2.txz: 100%   12 MiB   6.4MB/s00:02
 Checking integrity...Assertion failed: (strcmp(uid, p-uid) != 0),
 function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c,
 line 368.
 Child process pid=60922 terminated abnormally: Abort trap
 Exit 250
 
 the -debug output has nothing of interest that I can see.
 
 What's up?

Please open a ticket with this and save your /var/db/pkg/* somewhere so we can
analyze (and send them to me or host them in a place when I can fetch them)

in the meantime what you should do is pkg upgrade -f (lower f) and say no to
everything that ask you to switch candidates

Best regards,
Bapt


pgpKCbT7Og8t3.pgp
Description: PGP signature


Re: pkg 1.5.0 is out

2015-07-07 Thread Ulrich Spörlein
2015-07-01 13:38 GMT+02:00 Baptiste Daroussin b...@freebsd.org:

 On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote:
  On 04/21/15 12:34, Slawa Olhovchenkov wrote:
   On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote:
  
   Hi all,
  
   Final pkg 1.5.0 has been released.
  
 
  Hi,
 
  Is there a way the external SAT solver functionality can be memory
  optimised? When trying to use this feature having +750 packages
  installed, the memory usage starts growing and growing beyond 4GBytes
  until PKG segfaults, even before the CNF export has started.
 
  env SAT_SOLVER=mysolver pkg upgrade

 Probably, but given the little amount of time pkg developers has we will 
 greatly
 appreciate patches :)

 AKA this would be greatly appreciated, but very low on the priority list :(

 Best regards,
 Bapt


Hijacking this, I managed to mess up my local pkg repo somehow.

I build my own set of packages, and typically do pkg upgrade on the
clients. This time, I tried pkg upgrade -F, which went and downloaded
everything and that's fine. But now when I run pkg upgrade it claims
everything is already updated?

root@coyote:~# pkg --version
1.5.4
root@coyote:~# pkg upgrade
Updating acme repository catalogue...
acme repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (68 candidates): 100%
Processing candidates (68 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.


So let's try brute forcing this:

root@coyote:~# pkg install `pkg info -aqo`
Updating acme repository catalogue...
acme repository is up-to-date.
All repositories are up-to-date.
databases/db48 has no direct installation candidates, change it to db5? [Y/n]: Y
Assertion failed: (0), function pkg_jobs_try_remote_candidate, file
pkg_jobs.c, line 821.
Child process pid=60776 terminated abnormally: Abort trap
Exit 250


Using more force:

root@coyote:~# pkg upgrade -f db48
Updating acme repository catalogue...
acme repository is up-to-date.
All repositories are up-to-date.
db48 has no direct installation candidates, change it to db5? [Y/n]: y
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE
name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed:
packages.name
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
db5: 4.8.30.0_2 - 5.3.28_2

The process will require 37 MiB more space.
12 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching db5-5.3.28_2.txz: 100%   12 MiB   6.4MB/s00:02
Checking integrity...Assertion failed: (strcmp(uid, p-uid) != 0),
function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c,
line 368.
Child process pid=60922 terminated abnormally: Abort trap
Exit 250

the -debug output has nothing of interest that I can see.

What's up?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD_STABLE_10-i386 - Build #253 - Fixed

2015-07-07 Thread jenkins-admin
FreeBSD_STABLE_10-i386 - Build #253 - Fixed:

Check console output at 
https://jenkins.freebsd.org/job/FreeBSD_STABLE_10-i386/253/ to view the results.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


sdhci_pci0-slot0: Got data interrupt 0x00600000, but there is no active command.

2015-07-07 Thread vermaden

Hi,

on such system:
% uname -a
FreeBSD w530.local 10.1-STABLE FreeBSD 10.1-STABLE #0: Thu May 21 
10:41:11 CEST 2015 root@w530.local:/usr/obj/usr/src/sys/GENERIC amd64


...I got these error messages (and not working SD card) while this card 
works properly on Windows:


mmc0: MMC/SD bus on sdhci_pci0
mmcsd0: 34GB SDHC APPSD 0.0 SN 03ED MFG 10/2003 by 0 0x3000 at 
mmc0 50.0MHz/4bit/65535-block

mmc0: CMD7 failed, RESULT: 1
mmc0: ACMD42 failed, RESULT: 4
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
sdhci_pci0-slot0: Got data interrupt 0x0060, but there is no active 
command.

sdhci_pci0-slot0: == REGISTER DUMP ==
sdhci_pci0-slot0: Sys addr: 0x0f396200 | Version:  0x0502
sdhci_pci0-slot0: Blk size: 0x0200 | Blk cnt:  0x0001
sdhci_pci0-slot0: Argument: 0x03e7 | Trn mode: 0x0013
sdhci_pci0-slot0: Present:  0x01ff | Host ctl: 0x0007
sdhci_pci0-slot0: Power:0x000f | Blk gap:  0x
sdhci_pci0-slot0: Wake-up:  0x | Clock:0x0007
sdhci_pci0-slot0: Timeout:  0x000d | Int stat: 0x
sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_pci0-slot0: AC12 err: 0x | Slot int: 0x
sdhci_pci0-slot0: Caps: 0x21e8c8b2 | Max curr: 0x0040
sdhci_pci0-slot0: ===
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout

Regards,
vermaden

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org