Date: Wed, 1 Jun 2011 09:26:05 +0000 From: Holger Kipp <Holger.Kipp@alogis.com> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: "stable@freebsd.org" <stable@freebsd.org>, "mav@freebsd.org" <mav@freebsd.org> Subject: RE: 8-STABLE won't boot with ZFSv28 Message-ID: <814C9E9472FDCC40AAC3FC95A2D67E3B0BD88DC0@msx3.exchange.alogis.com> In-Reply-To: <20110601085454.GA19434@icarus.home.lan> References: <814C9E9472FDCC40AAC3FC95A2D67E3B0BD88C69@msx3.exchange.alogis.com>, <20110601085454.GA19434@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick [freebsd@jdc.parodius.com] wrote on 01 June 2011 10:54 >On Wed, Jun 01, 2011 at 08:23:19AM +0000, Holger Kipp wrote: >> I have a very irritating problem with 8-STABLE and ZFSv28 >> >> I upgraded to 8-STABLE as of yesterday (31.05.2011), >> downloaded stable-8-zfsv28-20110521.patch.xz >> and applied the patch using >> >> cd /usr/src >> patch -E -p0 < /path/to/patchfile >> make buildworld >> make buildkernel KERNCONF=3Dfoo >> make installkernel KERNCONF=3Dfoo >> make installworld >> mergemaster >> >> which all went smoothly. >> >> After reboot, I only got >> unknown: WARNING - ATAPI_IDENTITFY requeued due to channel reset LBA=3D0 >> all the time, and then after an hour or so (wasn't on site), >> system gave >> Fatal trap 12: page fault while in kernel mode >> cupid - 0; apic id =3D 00 >> fault virtual address =3D 0x8 >> fault code =3D supervisor read data, page not pres= ent >> instruction pointer =3D 0x20:0xffffffff80252301 >> stack poiner =3D 0x28:0xffffff80000a7ac0 >> frame pointer =3D 0x28:0xffffff80000a7b00 >> code segment =3D base 0x0, limit 0xfffff, type 0x1b >> =3D DPL 0, pres1, long 1,= def32 0, gran 1 >> processor eflags =3D interrupt enabled, resume, IOPL =3D 0 >> current process =3D 0 (thread taskq)trap number = =3D 12 >> panic: page fault >> cpuid =3D 0 >> Uptime: 1h0m13s >> Cannot dump. Device not defined or unavailable. >> Automatic reboot in 15 seconds - press a key on the console to abort >> >> Needless to say the system did not reboot. Had to powercycle. >> >> Then always got the >> unknown: WARNING - ATAPI_IDENTITFY requeued due to channel reset LBA=3D0 >> error about once per second. >> >> Have now used a fixit-disk to change back to the old kernel: >> FreeBSD 8.2-STABLE #12: Mon Apr 18 12:48:56 CEST 2011 >> and rebootet. >> Now zfs claims to be v28, current storage pool is at 15.I'd love to >> try ZFSv28, but with the old kernel I don't think >> this is a good idea - but with the new kernel it seems I can't >> even boot properly. >> Any suggestions as to how to proceed? > I think this is much more likely related to an ATA/ATAPI-related change > that was committed on April 17th recently and is not related to ZFSv28. > Please see this thread: > > * 2011/05/29 -- ICH9 panic/instability on recent kernel > http://lists.freebsd.org/pipermail/freebsd-stable/2011-May/thread.html#= 62804 > > Holger, can you please provide the following two things? > > 1) Output from "pciconf -lvcb". That's an easy one: hostb0@pci0:0:0:0: class=3D0x060000 card=3D0xd28015d9 chip=3D0x29f0808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '3200 Chipset (Bearlake) Processor to I/O Controller' class =3D bridge subclass =3D HOST-PCI cap 09[e0] =3D vendor (length 12) Intel cap 9 version 1 pcib1@pci0:0:1:0: class=3D0x060400 card=3D0xd28015d9 chip=3D0x29f1808= 6 rev=3D0x01 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '3200 Chipset (Bearlake) PCIe Root Port 1' class =3D bridge subclass =3D PCI-PCI cap 0d[88] =3D PCI Bridge card=3D0xd28015d9 cap 01[80] =3D powerspec 3 supports D0 D3 current D0 cap 05[90] =3D MSI supports 1 message cap 10[a0] =3D PCI-Express 2 root port max data 128(128) link x8(x16) ecap 0002[100] =3D VC 1 max VC0 ecap 0005[140] =3D unknown 1 uhci0@pci0:0:26:0: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2937808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x1820, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP uhci1@pci0:0:26:1: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2938808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x1840, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP uhci2@pci0:0:26:2: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2939808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x1860, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP ehci0@pci0:0:26:7: class=3D0x0c0320 card=3D0xd28015d9 chip=3D0x293c808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controll= er' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xd9001000, size 1024, enabl= ed cap 01[50] =3D powerspec 2 supports D0 D3 current D0 cap 0a[58] =3D EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] =3D PCI Advanced Features: FLR TP pcib4@pci0:0:28:0: class=3D0x060400 card=3D0xd28015d9 chip=3D0x2940808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1' class =3D bridge subclass =3D PCI-PCI cap 10[40] =3D PCI-Express 1 root port max data 128(128) link x4(x4) cap 05[80] =3D MSI supports 1 message cap 0d[90] =3D PCI Bridge card=3D0xd28015d9 cap 01[a0] =3D powerspec 2 supports D0 D3 current D0 ecap 0002[100] =3D VC 1 max VC0 ecap 0005[180] =3D unknown 1 pcib5@pci0:0:28:4: class=3D0x060400 card=3D0xd28015d9 chip=3D0x2948808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5' class =3D bridge subclass =3D PCI-PCI cap 10[40] =3D PCI-Express 1 root port max data 128(128) link x1(x1) cap 05[80] =3D MSI supports 1 message cap 0d[90] =3D PCI Bridge card=3D0xd28015d9 cap 01[a0] =3D powerspec 2 supports D0 D3 current D0 ecap 0002[100] =3D VC 1 max VC0 ecap 0005[180] =3D unknown 1 pcib6@pci0:0:28:5: class=3D0x060400 card=3D0xd28015d9 chip=3D0x294a808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 6' class =3D bridge subclass =3D PCI-PCI cap 10[40] =3D PCI-Express 1 root port max data 128(128) link x1(x1) cap 05[80] =3D MSI supports 1 message cap 0d[90] =3D PCI Bridge card=3D0xd28015d9 cap 01[a0] =3D powerspec 2 supports D0 D3 current D0 ecap 0002[100] =3D VC 1 max VC0 ecap 0005[180] =3D unknown 1 uhci3@pci0:0:29:0: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2934808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x1880, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP uhci4@pci0:0:29:1: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2935808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x18a0, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP uhci5@pci0:0:29:2: class=3D0x0c0300 card=3D0xd28015d9 chip=3D0x2936808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB bar [20] =3D type I/O Port, range 32, base 0x18c0, size 32, enabled cap 13[50] =3D PCI Advanced Features: FLR TP ehci1@pci0:0:29:7: class=3D0x0c0320 card=3D0xd28015d9 chip=3D0x293a808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controll= er' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xd9001400, size 1024, enabl= ed cap 01[50] =3D powerspec 2 supports D0 D3 current D0 cap 0a[58] =3D EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] =3D PCI Advanced Features: FLR TP pcib7@pci0:0:30:0: class=3D0x060401 card=3D0xd28015d9 chip=3D0x244e808= 6 rev=3D0x92 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface= to PCI Bridge' class =3D bridge subclass =3D PCI-PCI cap 0d[50] =3D PCI Bridge card=3D0xd28015d9 isab0@pci0:0:31:0: class=3D0x060100 card=3D0xd28015d9 chip=3D0x2916808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IR (ICH9R) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA cap 09[e0] =3D vendor (length 12) Intel cap 1 version 0 features: SATA RAID-5, 4 PCI-e x1 slots atapci0@pci0:0:31:2: class=3D0x01018a card=3D0xd28015d9 chip=3D0x2920808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) 4 port Serial ATA Storage C= ontroller 1' class =3D mass storage subclass =3D ATA bar [10] =3D type I/O Port, range 32, base 0x1f0, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0x3f4, size 1, enabled bar [18] =3D type I/O Port, range 32, base 0x170, size 8, enabled bar [1c] =3D type I/O Port, range 32, base 0x374, size 1, enabled bar [20] =3D type I/O Port, range 32, base 0x1c10, size 16, enabled bar [24] =3D type I/O Port, range 32, base 0x1c00, size 16, enabled cap 01[70] =3D powerspec 3 supports D0 D3 current D0 cap 13[b0] =3D PCI Advanced Features: FLR TP none0@pci0:0:31:3: class=3D0x0c0500 card=3D0xd28015d9 chip=3D0x2930808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel(R) ICH9 Family SMBus Controller working fine with= http://download.cnet.com/Chipset-Driver-Inte (8086)' class =3D serial bus subclass =3D SMBus bar [10] =3D type Memory, range 64, base 0xd9001800, size 256, enable= d bar [20] =3D type I/O Port, range 32, base 0x1100, size 32, enabled atapci1@pci0:0:31:5: class=3D0x010185 card=3D0xd28015d9 chip=3D0x2926808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) 2 port Serial ATA Storage C= ontroller 2' class =3D mass storage subclass =3D ATA bar [10] =3D type I/O Port, range 32, base 0x1c68, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0x1c5c, size 4, enabled bar [18] =3D type I/O Port, range 32, base 0x1c60, size 8, enabled bar [1c] =3D type I/O Port, range 32, base 0x1c58, size 4, enabled bar [20] =3D type I/O Port, range 32, base 0x1c30, size 16, enabled bar [24] =3D type I/O Port, range 32, base 0x1c20, size 16, enabled cap 01[70] =3D powerspec 3 supports D0 D3 current D0 cap 13[b0] =3D PCI Advanced Features: FLR TP none1@pci0:0:31:6: class=3D0x118000 card=3D0x000015d9 chip=3D0x2932808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) Thermal Subsystem' class =3D dasp bar [10] =3D type Memory, range 64, base 0xd9000000, size 4096, enabl= ed cap 01[50] =3D powerspec 3 supports D0 D3 current D0 pcib2@pci0:1:0:0: class=3D0x060400 card=3D0x00000000 chip=3D0x0329808= 6 rev=3D0x09 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'PCI Express-to-PCI Express Bridge A (6700PXH)' class =3D bridge subclass =3D PCI-PCI cap 10[44] =3D PCI-Express 1 PCI bridge max data 128(256) link x8(x8) cap 05[5c] =3D MSI supports 1 message, 64 bit cap 01[6c] =3D powerspec 2 supports D0 D3 current D0 cap 07[d8] =3D PCI-X bridge ecap 0001[100] =3D AER 1 0 fatal 1 non-fatal 0 corrected ecap 0004[300] =3D unknown 1 ioapic0@pci0:1:0:1: class=3D0x080020 card=3D0xd28015d9 chip=3D0x0326808= 6 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '6700/6702PXH I/OxAPIC Interrupt Controller A' class =3D base peripheral subclass =3D interrupt controller bar [10] =3D type Memory, range 32, base 0xd8900000, size 4096, enabl= ed cap 10[44] =3D PCI-Express 1 endpoint max data 256(256) link x8(x8) cap 01[6c] =3D powerspec 2 supports D0 D3 current D0 pcib3@pci0:1:0:2: class=3D0x060400 card=3D0x00000000 chip=3D0x032a808= 6 rev=3D0x09 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'PCI Express-to-PCI Express Bridge B (6700PXH)' class =3D bridge subclass =3D PCI-PCI cap 10[44] =3D PCI-Express 1 PCI bridge max data 128(256) link x8(x8) cap 05[5c] =3D MSI supports 1 message, 64 bit cap 01[6c] =3D powerspec 2 supports D0 D3 current D0 cap 07[d8] =3D PCI-X bridge ecap 0001[100] =3D AER 1 0 fatal 1 non-fatal 0 corrected ecap 0004[300] =3D unknown 1 ioapic1@pci0:1:0:3: class=3D0x080020 card=3D0xd28015d9 chip=3D0x0327808= 6 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'I/OxAPIC Interrupt Controller B (6700PXH)' class =3D base peripheral subclass =3D interrupt controller bar [10] =3D type Memory, range 32, base 0xd8901000, size 4096, enabl= ed cap 10[44] =3D PCI-Express 1 endpoint max data 256(256) link x8(x8) cap 01[6c] =3D powerspec 2 supports D0 D3 current D0 twe0@pci0:2:1:0: class=3D0x010400 card=3D0x100113c1 chip=3D0x100113c= 1 rev=3D0x01 hdr=3D0x00 vendor =3D '3ware Inc' device =3D 'ATA-133 Storage Controller (7000/8000 series)' class =3D mass storage subclass =3D RAID bar [10] =3D type I/O Port, range 32, base 0x2000, size 16, enabled bar [14] =3D type Memory, range 32, base 0xd8800000, size 16, enabled bar [18] =3D type Memory, range 32, base 0xd8000000, size 8388608, en= abled cap 01[40] =3D powerspec 1 supports D0 D1 D3 current D0 isp0@pci0:5:0:0: class=3D0x0c0400 card=3D0x01371077 chip=3D0x2432107= 7 rev=3D0x03 hdr=3D0x00 vendor =3D 'QLogic Corporation' device =3D 'Dual Channel 4G PCIe Fibre Channel Adapter (ISP2432)' class =3D serial bus subclass =3D Fibre Channel bar [10] =3D type I/O Port, range 32, base 0x3000, size 256, enabled bar [14] =3D type Memory, range 64, base 0xd8b00000, size 16384, enab= led cap 01[44] =3D powerspec 2 supports D0 D3 current D0 cap 10[4c] =3D PCI-Express 1 endpoint max data 128(1024) link x4(x4) cap 05[64] =3D MSI supports 16 messages, 64 bit enabled with 1 message cap 03[74] =3D VPD cap 11[7c] =3D MSI-X supports 16 messages in map 0x14 ecap 0001[100] =3D AER 1 0 fatal 1 non-fatal 0 corrected ecap 0004[138] =3D unknown 1 em0@pci0:13:0:0: class=3D0x020000 card=3D0x108c15d9 chip=3D0x108c808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel Corporation 82573E Gigabit Ethernet Controller (C= opper) (82573E)' class =3D network subclass =3D ethernet bar [10] =3D type Memory, range 32, base 0xd8a00000, size 131072, ena= bled bar [18] =3D type I/O Port, range 32, base 0x4000, size 32, enabled cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] =3D PCI-Express 1 endpoint max data 128(256) link x1(x1) ecap 0001[100] =3D AER 1 0 fatal 1 non-fatal 0 corrected ecap 0003[140] =3D Serial 1 003048ffffd21aba em1@pci0:15:0:0: class=3D0x020000 card=3D0x109a15d9 chip=3D0x109a808= 6 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel PRO/1000 PL Network Adaptor (82573L)' class =3D network subclass =3D ethernet bar [10] =3D type Memory, range 32, base 0xd8c00000, size 131072, ena= bled bar [18] =3D type I/O Port, range 32, base 0x5000, size 32, enabled cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] =3D PCI-Express 1 endpoint max data 128(256) link x1(x1) ecap 0001[100] =3D AER 1 0 fatal 1 non-fatal 0 corrected ecap 0003[140] =3D Serial 1 003048ffffd21abb vgapci0@pci0:17:4:0: class=3D0x030000 card=3D0xd28015d9 chip=3D0x515e100= 2 rev=3D0x02 hdr=3D0x00 vendor =3D 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device =3D 'Radeon ES1000 (Radeon ES1000)' class =3D display subclass =3D VGA bar [10] =3D type Prefetchable Memory, range 32, base 0xd0000000, siz= e 134217728, enabled bar [14] =3D type I/O Port, range 32, base 0x6000, size 256, enabled bar [18] =3D type Memory, range 32, base 0xd8d00000, size 65536, enab= led cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 > 2) Full output from a verbose boot (option "5" at the loader prompt). That's a bit more difficult... I'll check, but don't think anything is set = up there to get a meaningful dump or verbose boot information in electronic fo= rm... > I imagine #2 isn't going to work for most users because there's no way > to get pages and pages and pages of data from a panic'd machine without > either serial console (which will require a 2nd machine and possibly a > null-modem cable) or properly setting up a dedicated swap partition and > large-enough /var filesystem, plus their kernel would need DDB support > added to it (so they could properly do "call doadump" then "reboot"). > A workaround which one user has confirmed is to enable AHCI for your > SATA controller in your system BIOS (if such is available). ataahci.ko > will be used (which is AHCI via ATA) and your device names probably > won't change. Alternatively you could enable AHCI and use ahci.ko > (ahci_load=3D"yes" in /boot/loader.conf) to get AHCI via CAM, which > provides NCQ and other features, but your device names will change. > My familiarity with ATAPI is limited however. Will try both if available and let you know the results. > CC'ing mav@ here. > > Alexander, Holger's report looks exactly like Michael's report. > > Possibly we should consider reverting the April 17th commit until we can > figure out what's going on here. Many thanks for your support! Best regards, Holger -- Holger Kipp Diplom-Mathematiker Senior Consultant Tel. : +49 30 436 58 114 Fax. : +49 30 436 58 214 Mobil: +49 178 36 58 114 Email: holger.kipp@alogis.com alogis AG Alt-Moabit 90b D-10559 Berlin web : http://www.alogis.com ---------------------------------------------------------- alogis AG Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 71484 Vorstand: Arne Friedrichs, Joern Samuelson Aufsichtsratsvorsitzender: Reinhard Mielke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?814C9E9472FDCC40AAC3FC95A2D67E3B0BD88DC0>