John Baldwin | 9 Oct 20:02 2014
Picon

[PATCH] Lock scd(4): test or the driver will be removed

This patch adds locking to scd(4) and marks it MPSAFE.  It also uses bus_*() 
instead of bus_space_*().  The patch is against HEAD but probably applies to 9 
and 10 as well.

http://people.freebsd.org/~jhb/patches/scd_locking.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 9 Oct 20:03 2014
Picon

[PATCH] Fix si(4) to use bus_space: test or the driver will be removed

This patch fixes the si(4) driver to use the bus_space methods to access 
memory and I/O resources instead of directly calling inb()/outb() and using 
rman_get_virtual().  The patch is against HEAD but probably applies to 9 and 
10 as well.

http://people.freebsd.org/~jhb/patches/si_bus_space.patch

If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Hans Ottevanger | 9 Oct 16:07 2014
Picon

Re: Media image names - Document & rationalise.

On 10/07/14 02:13, Adam McDougall wrote:
> On 10/06/2014 16:34, John Baldwin wrote:
>> I believe the issue here as I discussed with Marcel last year is that the x86
>> installer needs to tell gpart to set the active flag on the dummy MBR slice in
>> the PMBR if GPT is being used without EFI (the installer knows if it is booted
>> via EFI or not).
>
> I ran into this today too with 10.1-RC1 (and recent 11 I think) on a
> BIOS based desktop freshly liberated from windows.  It would not boot.
> I got it going with gpart but as a new user I'd be in trouble.
>

This is exactly what I see with my oldish Intel DP965LT main board. 
Installation went perfect up to 9.2, but for later releases I have to issue

/sbin/gpart set -a active ada0

either from a shell before rebooting the fresh installation or after 
rebooting single user from the install media.

I also hear from several acquaintances (potential "switchers"), often 
with similar Intel (or Foxconn) boards that their fresh install of 
FreeBSD "does not even boot". On the other hand my even older Asus 
NL4VM-DH board does not have this issue (It does complain about being 
unable to read the backup GPT header, but that is another issue.)

If it is not possible to have the installer set the active flag when a 
BIOS is detected, the remedy using gpart could at least be documented in 
the installation notes, maybe even in the handbook.

(Continue reading)

Stefan Lambrev | 9 Oct 09:35 2014

Re: Booting from ZFS - fail.

Hi,

I have tried with 5G partitions: gpart add -s 5g -a 4k -t freebsd-zfs -l
disk0 ada0 ( I have four disks with raidz)
Same issue ... I'm little puzzled as I know people runnign the same
configuration on same HW except the HDDs.
Even firmware versions are the same.

On Tue, Oct 7, 2014 at 12:42 PM, Andrey V. Elsukov <bu7cher <at> yandex.ru>
wrote:

> On 07.10.2014 11:14, Stefan Lambrev wrote:
> > Hi,
> >
> > I have tested with a mirror from just 2x3TB HDDs but with no difference.
> > Though the layout of the partitions was the same (e.g. the smallest
> > partition I have tried is 2.7TB):
> >
> > gpart show ada0 (This is valid for all four disks)
> > =>        34  5860533101  ada0  GPT  (2.7T)
> >           34           6        - free -  (3.0K)
> >           40         512     1  freebsd-boot  (256K)
> >          552  5860532576     2  freebsd-zfs  [bootme]  (2.7T)
> >   5860533128           7        - free -  (3.5K)
>
> Hi,
>
> The problem might be in your BIOS, probably if you create ZFS pool on
> small partitions, then it will boot.
>
(Continue reading)

Erich Dollansky | 9 Oct 07:23 2014

fsck after recovery, journal seems to be wrong

Hi,

my machine rebooted last night while doing a backup and formating a
device.

Ok, can happen, but the difference between an fsck useing the journal
and a full fsck without using the journal surprises me a bit.

While fsck with the journal showed no error, a full fsck came to this
result: 

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? [yn] y

SUMMARY INFORMATION BAD
SALVAGE? [yn] y

BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn] y

uname -a says:

FreeBSD X220.alogt.com 10.1-RC1 FreeBSD 10.1-RC1 #8 r272672: Tue Oct  7
14:35:32 WITA 2014     erich <at> X220.alogt.com:/usr/obj/usr/src/sys/X220
amd64 

I did not realise any damage until just now when I found one file
missing. This made me doing the fsckes. 

(Continue reading)

John Baldwin | 8 Oct 20:30 2014
Picon

[PATCH] Replace timeout(9) with callout(9) in ips(4): test or the driver will be removed

This patch converts the ips(4) driver to the callout(9) API and adds 
additional locking to remove its use of Giant.  The patch is against HEAD but 
probably applies to 9 and 10 as well.  Please test with INVARIANTS enabled.

http://www.FreeBSD.org/~jhb/patches/ips_callout.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 8 Oct 20:44 2014
Picon

[PATCH] Add locking to mly(4): test or the driver will be removed

This patch adds locking to mly(4) and marks it MPSAFE.  This patch is against 
HEAD but probably applies to 9 and 10 as well.  Please enable INVARIANTS while 
testing.

http://www.FreeBSD.org/~jhb/patches/mly_locking.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 8 Oct 20:43 2014
Picon

[PATCH] Add locking to mcd(4): test or the driver will be removed

This patch adds locking to mcd(4) and marks it MPSAFE.  This patch is against 
HEAD but probably applies to 9 and 10 as well.  Please enable INVARIANTS while 
testing.

http://www.FreeBSD.org/~jhb/patches/mcd_locking.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 8 Oct 20:48 2014
Picon

[PATCH] Switch pst(4) to callout(9): test or the driver will be removed

This patch switches the pst(4) driver from timeout(9) to callout(9).  It also 
cleans up detach a bit.  The patch is against HEAD but probably applies to 9 
and 10.  Please test with INVARIANTS enabled.

http://www.FreeBSD.org/~jhb/patches/pst_callout.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 8 Oct 20:54 2014
Picon

[PATCH] Lock wds(4): test or the driver will be removed

This patch adds locking to wds(4) and marks it MPSAFE.  It also includes 
several other cleanups such as using bus_space instead of inb/outb.  The patch 
is against HEAD but probably applies to 9 and 10 as well.

http://people.freebsd.org/~jhb/patches/wds_locking.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Baldwin | 8 Oct 20:56 2014
Picon

[PATCH] Various fixes to wl(4): test or the driver will be removed

This patch fixes various issues in wl(4) including:

 - Use bus_space instead of inb/outb.
 - Use device_printf() and if_printf()
 - Use callout(9) instead of timeout(9)
 - Don't hold the driver lock across sleeping actions like
   bus_teardown_intr(), subyte(), etc.
 - Don't recurse on the driver lock.

The patch is against HEAD but probably applies to 9 and 10 as well.

http://people.freebsd.org/~jhb/patches/wl_cleanup.patch

Note that this driver is using a deprecated API that will be removed in 11.  
If no one tests updates to this driver then it is not feasible to continue 
maintaining it in the tree.  In that case, it will be removed from HEAD one 
month from today.

--

-- 
John Baldwin

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"


Gmane