Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Vladislav V. Prodan
The kernel of the standard, GENERIC
Similar problems after attempting to install from the disk
FreeBSD-9.0-CURRENT-201011-amd64-dvd1.iso
In the latter case, there were cases of complete system lockup.

The upgrade process:
cd /usr/src
make clean
rm -r /usr/obj
make buildworld
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC
make installworld


What am I doing wrong?

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
FreeBSD 9.0-CURRENT #0: Wed Dec 15 11:48:40 EET 2010
r...@beastie:/usr/obj/usr/src/sys/GENERIC amd64
WARNING: WITNESS option enabled, expect reduced performance.
CPU: AMD Phenom(tm) II X6 1090T Processor (3214.25-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100fa0  Family = 10  Model = a  Stepping = 0
  
Features=0x178bfbff
  Features2=0x802009
  AMD 
Features=0xee500800
  AMD 
Features2=0x37ff
  TSC: P-state invariant
real memory  = 17179869184 (16384 MB)
avail memory = 16398311424 (15638 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
ioapic0: Changing APIC ID to 8
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, d7bf (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0xde00-0xdeff mem 
0xd800-0xdfff,0xfdbe-0xfdbe,0xfda0-0xfdaf irq 18 at 
device 5.0 on pci1
pci1:  at device 5.1 (no driver attached)
pcib2:  irq 17 at device 9.0 on pci0
pci2:  on pcib2
pci2:  at device 0.0 (no driver attached)
pcib3:  irq 18 at device 10.0 on pci0
pci3:  on pcib3
re0:  port 0xee00-0xeeff 
mem 0xfdeff000-0xfdef,0xfdef8000-0xfdefbfff irq 18 at device 0.0 on pci3
re0: Using 1 MSI messages
re0: Chip rev. 0x2800
re0: MAC rev. 0x
miibus0:  on re0
rgephy0:  PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 
100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 
1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, 
auto-flow
re0: Ethernet address: 1c:6f:65:43:fa:9a
atapci0:  port 
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 
0xfe02f000-0xfe02f3ff irq 19 at device 17.0 on pci0
atapci0: AHCI v1.20 controller with 6 6Gbps ports, PM supported
ata2:  on atapci0
ata3:  on atapci0
ata4:  on atapci0
ata5:  on atapci0
ata6:  on atapci0
ata7:  on atapci0
ohci0:  mem 0xfe02e000-0xfe02efff irq 18 at 
device 18.0 on pci0
usbus0:  on ohci0
ehci0:  mem 0xfe02d000-0xfe02d0ff irq 17 at 
device 18.2 on pci0
usbus1: EHCI version 1.0
usbus1:  on ehci0
ohci1:  mem 0xfe02c000-0xfe02cfff irq 18 at 
device 19.0 on pci0
usbus2:  on ohci1
ehci1:  mem 0xfe02b000-0xfe02b0ff irq 17 at 
device 19.2 on pci0
usbus3: EHCI version 1.0
usbus3:  on ehci1
pci0:  at device 20.0 (no driver attached)
isab0:  at device 20.3 on pci0
isa0:  on isab0
pcib4:  at device 20.4 on pci0
pci4:  on pcib4
fwohci0:  mem 
0xfddff000-0xfddff7ff,0xfddf8000-0xfddfbfff irq 22 at device 14.0 on pci4
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:17:ee:00:1c:6f:65
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:11:17:1c:6f:65
fwe0: Ethernet address: 02:11:17:1c:6f:65
fwip0:  on firewire0
fwip0: Firewire address: 00:11:17:ee:00:1c:6f:65 @ 0xfffe, S400, maxrec 
2048
sbp0:  on firewire0
dcons_crom0:  on firewire0
dcons_crom0: bus_addr 0x12ec000
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1, CYCLEMASTER mode
ohci2:  mem 0xfe02a000-0xfe02afff irq 18 at 
device 20.5 on pci0
usbus4:  on ohci2
pcib5:  at device 21.0 on pci0
pci5:  on pcib5
atapci1:  port 
0xaf00-0xaf07,0xae00-0xae03,0xad00-0xad07,0xac00-0xac03,0xab00-0xab0f mem 
0xfd9fe000-0xfd9f irq 17 at device 0.0 on pci5
atapci2:  on atapci1
atapci2: AHCI v1.00 controller with 2 3Gbps ports, PM supported
ata8:  on atapci2
ata9:  on atapci2
ata10:  on atapci1
pcib6:  at device 21.1 on pci0
pci6:  on pcib6
ohci3:  mem 0xfe029000-0xfe029fff irq 18 at 
device 22.0 on pci0
usbus5:  on ohci3
ehci2:  mem 0xfe028000-0xfe0280ff irq 17 at 
device 22.2 on pci0
usbus6: EHCI version 1.0
usbus6:  on ehci2
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
attimer0:  port 0x40-0x43 irq 0 o

Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Andriy Gapon
on 15/12/2010 14:18 Vladislav V. Prodan said the following:
> The kernel of the standard, GENERIC
> Similar problems after attempting to install from the disk
> FreeBSD-9.0-CURRENT-201011-amd64-dvd1.iso
> In the latter case, there were cases of complete system lockup.
> 
> The upgrade process:
> cd /usr/src
> make clean
> rm -r /usr/obj
> make buildworld
> make buildkernel KERNCONF=GENERIC
> make installkernel KERNCONF=GENERIC
> make installworld
> 
> 
> What am I doing wrong?
> 

Just a guess - have you looked at UPDATING in CURRENT sources?
But the lock up is totally unexpected, try to debug it.

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


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Vladislav V. Prodan
15.12.2010 15:00, Andriy Gapon wrote:

> Just a guess - have you looked at UPDATING in CURRENT sources?
> But the lock up is totally unexpected, try to debug it.
> 
Nothing interesting find, but flew into a panic:

panic: bio_completed can't be greater than bio_lenght
cpuid =3
...

Now try to attach a screenshot.


-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Vladislav V. Prodan
15.12.2010 15:11, Vladislav V. Prodan wrote:

> Now try to attach a screenshot.
> 
> 

http://img576.imageshack.us/i/dsc00563u.jpg/

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Olivier Smedts
2010/12/15 Vladislav V. Prodan :
> 15.12.2010 15:11, Vladislav V. Prodan wrote:
>
>> Now try to attach a screenshot.
>>
>>
>
> http://img576.imageshack.us/i/dsc00563u.jpg/

ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=8638372

Maybe installkernel/installworld copied files on bad clusters, they
were previously bad but you notice only now that there are system
files on them...


-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Andriy Gapon
on 15/12/2010 16:25 Olivier Smedts said the following:
> 2010/12/15 Vladislav V. Prodan :
>> 15.12.2010 15:11, Vladislav V. Prodan wrote:
>>
>>> Now try to attach a screenshot.
>>>
>>>
>>
>> http://img576.imageshack.us/i/dsc00563u.jpg/
> 
> ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=8638372
> 
> Maybe installkernel/installworld copied files on bad clusters, they
> were previously bad but you notice only now that there are system
> files on them...

This indeed looks like a problem caused by disk.
There shouldn't have been the panic though ("bio_completed can't be greater than
bio_length").
It's a possible geom or ad driver problem.
What is your geom topology on this system?

Changing cc: from fs@ to g...@.

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


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Ivan Voras
On 15.12.2010 16:16, Andriy Gapon wrote:
> on 15/12/2010 16:25 Olivier Smedts said the following:
>> 2010/12/15 Vladislav V. Prodan :
>>> 15.12.2010 15:11, Vladislav V. Prodan wrote:
>>>
 Now try to attach a screenshot.


>>>
>>> http://img576.imageshack.us/i/dsc00563u.jpg/
>>
>> ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=8638372
>>
>> Maybe installkernel/installworld copied files on bad clusters, they
>> were previously bad but you notice only now that there are system
>> files on them...
> 
> This indeed looks like a problem caused by disk.
> There shouldn't have been the panic though ("bio_completed can't be greater 
> than
> bio_length").
> It's a possible geom or ad driver problem.
> What is your geom topology on this system?
> 
> Changing cc: from fs@ to g...@.

Agreed, looks like hardware or driver issue, but AFAIK 8 and HEAD have
pretty much the same ATA drivers, MFC-ed often. Maybe it's something
trivial - nudged cables or a power supply gone accidentally bad.

Just for a test, can you try running with AHCI here? (ahci_load=YES in
loader.conf; note that it will rename devices; don't know if ZFS root
can handle it).


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


Re: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread Anonymous
Pawel Jakub Dawidek  writes:

> Hi.
>
> The new patchset is ready for testing:
>
>   http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2
>
> When applying the patch be sure to use correct options for patch(1)!:
>
>   # cd /usr/src
>   # fetch http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2
>   # bzip2 -d zfs_20101212.patch.bz2
>   # patch -E -p0 < zfs_20101212.patch

  $ zfs allow
  Traceback (most recent call last):
  File "/usr/lib/zfs/pyzfs.py", line 35, in 
  import zfs.util
  File "/usr/local/lib/python2.7/site-packages/zfs/util.py", line 31, in 

  import solaris.misc
  ImportError: No module named solaris.misc
  Exit 1

Am I missing smth? Looks like lib/pysolaris wasn't ported from onnv-gate.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Low speed disk subsystem after the upgrade 8.1-STABLE-201011 --> 9-CURRENT

2010-12-15 Thread Vladislav V. Prodan
15.12.2010 21:16, Jeremy Chadwick wrote:
> Agreed.
> 
> Vladislav, if you can get the system usable/bootable, please install
> ports/sysutils/smartmontools and provide output from "smartctl -a
> /dev/ad6" here.  It should act as an indicator as to whether or not
> there are bad blocks or odd disk behaviour.

That there are no errors.
In 8-STABLE smarmontools showed no errors.

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread Anonymous
Anonymous  writes:

>   $ zfs allow
>   Traceback (most recent call last):
>   File "/usr/lib/zfs/pyzfs.py", line 35, in 
>   import zfs.util
>   File "/usr/local/lib/python2.7/site-packages/zfs/util.py", line 31, in 
> 
>   import solaris.misc
>   ImportError: No module named solaris.misc
>   Exit 1
>
> Am I missing smth? Looks like lib/pysolaris wasn't ported from onnv-gate.

Doh, it's likely my install is broken, I think it worked before with
previous ZFSv28 patch.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: USB 1.1 devs not working on ASUS K8VSE (x86) MB

2010-12-15 Thread Tom Uffner

according to kldstat -v, both "uhci/usbus" & "pci/uhci" were present in
my kernel but one or both of them was silently failing.

apparently something in my sources was corrupt because deleting all of
the USB related code from my CVS root, re-csuping it, and building a
fresh kernel solved the problem.

thanks for the help.

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


RE: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread Chris Forgeron
I've installed and complied it on 9-Current 2010.12.12, looks to be running 
fine.

I've imported a v15 6 disk raidz that was created under 8.1-Stable, and so far 
it's passing all tests.

I'll be doing some serious Send/Receive testing in the next few days, so I'll 
see if I can break it. 

I'll also be upgrading the v15 fs to v28 and testing it further, as well as 
creating a fresh v28 pool, so I'll let you know how it goes. 


-Original Message-
From: owner-freebsd-curr...@freebsd.org 
[mailto:owner-freebsd-curr...@freebsd.org] On Behalf Of Pawel Jakub Dawidek
Sent: December-14-10 11:44 AM
To: Olivier Smedts
Cc: freebsd...@freebsd.org; freebsd-current@freebsd.org; Steven Hartland; 
m...@freebsd.org
Subject: Re: Next ZFSv28 patchset ready for testing.

On Tue, Dec 14, 2010 at 03:20:05PM +0100, Olivier Smedts wrote:
> > make installworld
> 
> That's what I wanted to do, and why I rebooted single-user on the new 
> kernel. But isn't the v13-v15 userland supposed to work with the v28 
> kernel ?

Yes, it is suppose to work. Exactly to be able to follow FreeBSD common upgrade 
path. Martin was working on this (CCed).

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
p...@freebsd.org   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [PANIC] ffs_alloccg: map corrupted

2010-12-15 Thread David O'Brien
On Thu, Dec 02, 2010 at 03:31:41PM -0800, Garrett Cooper wrote:
> On Thu, Dec 2, 2010 at 2:43 PM, David O'Brien  wrote:
> > Thoughts?
> >
> > FreeBSD 9.0-CURRENT #654 r215604M: Sat Nov 20 19:51:27 PST 2010
> > ? ?ro...@dragon:/sys/i386/compile/DRAGON i386
> > [..]
> > start = 0, len = 3359, fs = /files
> > panic: ffs_alloccg: map corrupted
[..]
> > ffs_balloc_ufs2(ce55e660,38000,0,4000,ce77b300,...) at 0xc0755629 = 
> > ffs_balloc_ufs2+0x1949
[..]
> > panic: bufwrite: buffer is not busy???
> 
> UFS? UFS2? SU? SU+J? Got more details :)?

UFS2, SU+J, ahd(4) HBA

-- 
-- David  (obr...@freebsd.org)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread ben wilber
On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote:
> Hi.
> 
> The new patchset is ready for testing:

Running fine for 24 hours now under load with a ~50 disk v15 (not
upgraded) pool from -CURRENT.  Thanks!

Only strange thing is the rc script complains:

/etc/rc: DEBUG: run_rc_command: doit: zvol_start 
unrecognized command 'volinit'
usage: zfs command args ...

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


[head tinderbox] failure on arm/arm

2010-12-15 Thread FreeBSD Tinderbox
TB --- 2010-12-16 03:30:01 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-12-16 03:30:01 - starting HEAD tinderbox run for arm/arm
TB --- 2010-12-16 03:30:01 - cleaning the object tree
TB --- 2010-12-16 03:30:11 - cvsupping the source tree
TB --- 2010-12-16 03:30:11 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2010-12-16 03:30:28 - building world
TB --- 2010-12-16 03:30:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-12-16 03:30:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-12-16 03:30:28 - TARGET=arm
TB --- 2010-12-16 03:30:28 - TARGET_ARCH=arm
TB --- 2010-12-16 03:30:28 - TZ=UTC
TB --- 2010-12-16 03:30:28 - __MAKE_CONF=/dev/null
TB --- 2010-12-16 03:30:28 - cd /src
TB --- 2010-12-16 03:30:28 - /usr/bin/make -B buildworld
>>> World build started on Thu Dec 16 03:30:28 UTC 2010
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:898: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:911: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:912: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:915: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA512_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:919: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA384_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:994: warning: cast 
increases required alignment of target type
*** Error code 1

Stop in /src/sbin/geom/class/eli.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-12-16 04:13:35 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-12-16 04:13:35 - ERROR: failed to build world
TB --- 2010-12-16 04:13:35 - 1941.22 user 502.52 system 2614.83 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [PANIC] ffs_alloccg: map corrupted

2010-12-15 Thread Buganini
I've see many times that SUJ doesnt really make fs clean,
then some problem in fs leads to panics.
And sometimes I boot into single user mode after crash (caused by
other things, eg. page fault), then
fsck_ffs -y ; use SUJ and marked clean, and again:
fsck_ffs -fy ; should not fix anything more, but actually it does
report fixing something


On Thu, Dec 16, 2010 at 11:29 AM, David O'Brien  wrote:
> On Thu, Dec 02, 2010 at 03:31:41PM -0800, Garrett Cooper wrote:
>> On Thu, Dec 2, 2010 at 2:43 PM, David O'Brien  wrote:
>> > Thoughts?
>> >
>> > FreeBSD 9.0-CURRENT #654 r215604M: Sat Nov 20 19:51:27 PST 2010
>> >    ro...@dragon:/sys/i386/compile/DRAGON i386
>> > [..]
>> > start = 0, len = 3359, fs = /files
>> > panic: ffs_alloccg: map corrupted
> [..]
>> > ffs_balloc_ufs2(ce55e660,38000,0,4000,ce77b300,...) at 0xc0755629 = 
>> > ffs_balloc_ufs2+0x1949
> [..]
>> > panic: bufwrite: buffer is not busy???
>>
>>     UFS? UFS2? SU? SU+J? Got more details :)?
>
> UFS2, SU+J, ahd(4) HBA
>
> --
> -- David  (obr...@freebsd.org)
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [PANIC] ffs_alloccg: map corrupted

2010-12-15 Thread Garrett Cooper
On Wed, Dec 15, 2010 at 7:29 PM, David O'Brien  wrote:
> On Thu, Dec 02, 2010 at 03:31:41PM -0800, Garrett Cooper wrote:
>> On Thu, Dec 2, 2010 at 2:43 PM, David O'Brien  wrote:
>> > Thoughts?
>> >
>> > FreeBSD 9.0-CURRENT #654 r215604M: Sat Nov 20 19:51:27 PST 2010
>> >    ro...@dragon:/sys/i386/compile/DRAGON i386
>> > [..]
>> > start = 0, len = 3359, fs = /files
>> > panic: ffs_alloccg: map corrupted
> [..]
>> > ffs_balloc_ufs2(ce55e660,38000,0,4000,ce77b300,...) at 0xc0755629 = 
>> > ffs_balloc_ufs2+0x1949
> [..]
>> > panic: bufwrite: buffer is not busy???
>>
>>     UFS? UFS2? SU? SU+J? Got more details :)?
>
> UFS2, SU+J, ahd(4) HBA

Hmmm.. interesting. Was a cylinder block corrupted by an fsck and
the map not updated (properly) to reflect the change? I haven't seen
this particular issue before, but then again I stick to mfi(4)
controllers for RAIDs and standalone ahci(4) drives.
Thanks,
-Garrett
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on ia64/ia64

2010-12-15 Thread FreeBSD Tinderbox
TB --- 2010-12-16 04:13:36 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-12-16 04:13:36 - starting HEAD tinderbox run for ia64/ia64
TB --- 2010-12-16 04:13:36 - cleaning the object tree
TB --- 2010-12-16 04:13:49 - cvsupping the source tree
TB --- 2010-12-16 04:13:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2010-12-16 04:14:00 - building world
TB --- 2010-12-16 04:14:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-12-16 04:14:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-12-16 04:14:00 - TARGET=ia64
TB --- 2010-12-16 04:14:00 - TARGET_ARCH=ia64
TB --- 2010-12-16 04:14:00 - TZ=UTC
TB --- 2010-12-16 04:14:00 - __MAKE_CONF=/dev/null
TB --- 2010-12-16 04:14:00 - cd /src
TB --- 2010-12-16 04:14:00 - /usr/bin/make -B buildworld
>>> World build started on Thu Dec 16 04:14:01 UTC 2010
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:898: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:911: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:912: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:915: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA512_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:919: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA384_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:994: warning: cast 
increases required alignment of target type
*** Error code 1

Stop in /src/sbin/geom/class/eli.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-12-16 05:16:29 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-12-16 05:16:29 - ERROR: failed to build world
TB --- 2010-12-16 05:16:29 - 2980.59 user 504.73 system 3772.95 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on mips/mips

2010-12-15 Thread FreeBSD Tinderbox
TB --- 2010-12-16 05:16:30 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-12-16 05:16:30 - starting HEAD tinderbox run for mips/mips
TB --- 2010-12-16 05:16:30 - cleaning the object tree
TB --- 2010-12-16 05:16:37 - cvsupping the source tree
TB --- 2010-12-16 05:16:37 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2010-12-16 05:16:55 - building world
TB --- 2010-12-16 05:16:55 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-12-16 05:16:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-12-16 05:16:55 - TARGET=mips
TB --- 2010-12-16 05:16:55 - TARGET_ARCH=mips
TB --- 2010-12-16 05:16:55 - TZ=UTC
TB --- 2010-12-16 05:16:55 - __MAKE_CONF=/dev/null
TB --- 2010-12-16 05:16:55 - cd /src
TB --- 2010-12-16 05:16:55 - /usr/bin/make -B buildworld
>>> World build started on Thu Dec 16 05:16:55 UTC 2010
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:898: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:911: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:912: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:915: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA512_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:919: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA384_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:994: warning: cast 
increases required alignment of target type
*** Error code 1

Stop in /src/sbin/geom/class/eli.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-12-16 06:02:55 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-12-16 06:02:55 - ERROR: failed to build world
TB --- 2010-12-16 06:02:55 - 2022.61 user 473.07 system 2784.76 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on sparc64/sparc64

2010-12-15 Thread FreeBSD Tinderbox
TB --- 2010-12-16 06:06:51 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-12-16 06:06:51 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2010-12-16 06:06:51 - cleaning the object tree
TB --- 2010-12-16 06:07:01 - cvsupping the source tree
TB --- 2010-12-16 06:07:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2010-12-16 06:07:14 - building world
TB --- 2010-12-16 06:07:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-12-16 06:07:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-12-16 06:07:14 - TARGET=sparc64
TB --- 2010-12-16 06:07:14 - TARGET_ARCH=sparc64
TB --- 2010-12-16 06:07:14 - TZ=UTC
TB --- 2010-12-16 06:07:14 - __MAKE_CONF=/dev/null
TB --- 2010-12-16 06:07:14 - cd /src
TB --- 2010-12-16 06:07:14 - /usr/bin/make -B buildworld
>>> World build started on Thu Dec 16 06:07:14 UTC 2010
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:898: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:911: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:912: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:915: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA512_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:919: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA384_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:994: warning: cast 
increases required alignment of target type
*** Error code 1

Stop in /src/sbin/geom/class/eli.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-12-16 06:58:14 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-12-16 06:58:14 - ERROR: failed to build world
TB --- 2010-12-16 06:58:14 - 2323.77 user 488.67 system 3083.00 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on sparc64/sun4v

2010-12-15 Thread FreeBSD Tinderbox
TB --- 2010-12-16 06:30:08 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-12-16 06:30:08 - starting HEAD tinderbox run for sparc64/sun4v
TB --- 2010-12-16 06:30:08 - cleaning the object tree
TB --- 2010-12-16 06:30:20 - cvsupping the source tree
TB --- 2010-12-16 06:30:20 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sun4v/supfile
TB --- 2010-12-16 06:30:38 - building world
TB --- 2010-12-16 06:30:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-12-16 06:30:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-12-16 06:30:38 - TARGET=sun4v
TB --- 2010-12-16 06:30:38 - TARGET_ARCH=sparc64
TB --- 2010-12-16 06:30:38 - TZ=UTC
TB --- 2010-12-16 06:30:38 - __MAKE_CONF=/dev/null
TB --- 2010-12-16 06:30:38 - cd /src
TB --- 2010-12-16 06:30:38 - /usr/bin/make -B buildworld
>>> World build started on Thu Dec 16 06:30:39 UTC 2010
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:898: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:911: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:912: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:915: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA512_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:919: warning: cast 
increases required alignment of target type
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c: In function 
'SHA384_Final':
/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:994: warning: cast 
increases required alignment of target type
*** Error code 1

Stop in /src/sbin/geom/class/eli.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-12-16 07:19:27 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-12-16 07:19:27 - ERROR: failed to build world
TB --- 2010-12-16 07:19:27 - 2309.30 user 479.29 system 2958.90 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sun4v.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread Pawel Jakub Dawidek
On Wed, Dec 15, 2010 at 10:15:00PM -0500, ben wilber wrote:
> On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote:
> > Hi.
> > 
> > The new patchset is ready for testing:
> 
> Running fine for 24 hours now under load with a ~50 disk v15 (not
> upgraded) pool from -CURRENT.  Thanks!
> 
> Only strange thing is the rc script complains:
> 
> /etc/rc: DEBUG: run_rc_command: doit: zvol_start 
> unrecognized command 'volinit'
> usage: zfs command args ...

Did you run mergemaster(8) after the upgrade? The patch includes change
to etc/rc.d/zvol to remove 'zfs volinit'/'zfs volfini' which are no
longer available.

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
p...@freebsd.org   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgp7c4gzudIbP.pgp
Description: PGP signature