Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 08:21:52 -0800
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Should I Send a PR?
Message-ID:  <41924020.8070509@mykitchentable.net>

next in thread | raw e-mail | index | archive | help
Since upgrading from 4.9 to 4.10, I've had the problems described in the 
message below.  I've posted a couple of times and had no response other 
than confirmation that the aic_recovery processes are normal and new 
since 4.9.  Please understand that I am not complaining.  I just want to 
know if I should send a PR for this issue.  I'm hesitant because it's 
probably something on my end or else others would have the same issue.  
Yet it might be a *real* bug because it happened to someone using 
CURRENT in December 2003 and was resolved with updates to the ahc driver 
code which may or may not be in 4-STABLE.

Opinions?  Comments?

Thanks,

Drew

-------- Original Message --------
Subject: 	Shutdown Hangs After Upgrading to 4.10
Date: 	Thu, 04 Nov 2004 18:13:24 -0800
From: 	Drew Tomlinson <drew@mykitchentable.net>
To: 	stable@freebsd.org



I've been happily using 4.9-RELEASE-p4 since April 2004.  Last weekend, 
I decided to upgrade to 4.10-RELEASE-p3 to fix the pthreads problem 
since I had just added an external tape drive to the QLogic SCSI card 
that was already in my system.

Anyway, after upgrading, I experienced the same shutdown hanging 
symptoms as described in this message:

http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016933.html 


In reading the thread, it seems there was an infinite loop problem in 
the ahc driver code that was fixed later by Justin Gibbs.  So I tried 
upgrading to 4-STABLE to see if the problem was fixed there.  But I 
still have the same symptoms.

I also see these "odd" processes in my ps output:

root            34  0.0  0.0   212   40  ??  Is   10:19PM   0:00.00 
adjkerntz
root            20  0.0  0.0   596   48  ??  DLs  10:08PM   0:00.02 vinum
root            13  0.0  0.0     0    0  ??  DL   10:08PM   0:00.04 vnlru
root            12  0.0  0.0     0    0  ??  DL   10:08PM   0:01.39 syncer
root            11  0.0  0.0     0    0  ??  DL   10:08PM   0:00.26 
bufdaemon
root            10  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
vmdaemon
root             9  0.0  0.0     0    0  ??  DL   10:08PM   0:00.73 
pagedaemon
root             8  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
aic_recovery1
root             7  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
aic_recovery1
root             6  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
aic_recovery0
root             5  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
aic_recovery0
root             4  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 usbtask
root             3  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 usb0
root             2  0.0  0.0     0    0  ??  DL   10:08PM   0:00.00 
taskqueue
root             1  0.0  0.1   552  128  ??  ILs  10:08PM   0:00.01 init
root             0  0.0  0.0     0    0  ??  DLs  10:08PM   0:00.00 swapper

I find them "odd" because the system was powered off/on at 6:19AM after 
the machine was shutdown at about 10:08PM.  (I tried waiting overnight 
to see if it would actually finish it's shutdown.)

And finally, I have one vinum volume that has problems.  However after 
the system comes up, I can remove and re-create the volume and all of my 
data is intact.
I'm assuming that if I get the shutdown issue resolved, these other 
problems will heal themselves.  I'd appreciate any advice you might have 
on how to get my system running on 4.10.  My dmesg output follows.  
Please let me know if there's any other info I can provide.

Thanks,

Drew

-----
blacklamb# uname -a
FreeBSD blacklamb.mykitchentable.net 4.10-STABLE FreeBSD 4.10-STABLE #0: 
Sun Oct 31 21:23:11 PST 2004     
tomlinson_dr@blacklamb.mykitchentable.net:/usr/obj/usr/src/sys/BLACKLAMB  
i386

blacklamb# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
FreeBSD 4.10-STABLE #0: Sun Oct 31 21:23:11 PST 2004
   tomlinson_dr@blacklamb.mykitchentable.net:/usr/obj/usr/src/sys/BLACKLAMB
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> 

real memory  = 201261056 (196544K bytes)
config> # di pcic0
Invalid command or syntax.  Type `?' for help.
config> # di ata1
Invalid command or syntax.  Type `?' for help.
config> # di ata0
Invalid command or syntax.  Type `?' for help.
config> # di aic0
Invalid command or syntax.  Type `?' for help.
config> # di adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 191930368 (187432K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc03bb000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03bb09c.
Preloaded elf module "ispfw.ko" at 0xc03bb0ec.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00fdf10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 5
IOAPIC #0 intpin 17 -> irq 10
IOAPIC #0 intpin 16 -> irq 11
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GZ graphics accelerator> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1c90-0x1c9f at device 4.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1ca0-0x1cbf irq 
2 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Timecounter "PIIX"  frequency 3579545 Hz
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at 
device 4.3 on pci0
ahc0: <Adaptec aic7895 Ultra SCSI adapter> port 0x1000-0x10ff mem 
0xfc100000-0xfc100fff irq 5 at device 5.0 on pci0
ahc0: Using left over BIOS settings
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> port 0x1400-0x14ff mem 
0xfc101000-0xfc101fff irq 5 at device 5.1 on pci0
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1cc0-0x1cff mem 
0xfc000000-0xfc0fffff,0xfc102000-0xfc102fff irq 2 at device 6.0 on pci0
fxp0: Ethernet address 00:e0:18:c4:f4:5e
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x1800-0x18ff mem 
0xfc103000-0xfc103fff irq 10 at device 9.0 on pci0
fwohci0: <VIA VT6306> port 0x1c00-0x1c7f mem 0xfc104000-0xfc1047ff irq 
11 at device 10.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:40:63:00:00:00:07:ff
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:40:63:00:07:ff
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
pcib2: <DEC 21152 PCI-PCI bridge> at device 12.0 on pci0
pci2: <PCI bus> on pcib2
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcd7ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 76319MB <GENERIC GENERIC> [155061/16/63] at ata0-master UDMA33
ad1: 76319MB <WDC WD800AB-22CBA0> [155061/16/63] at ata0-slave UDMA33
acd0: CDROM <HITACHI CDR-8435> at ata1-master PIO4
Waiting 10 seconds for SCSI devices to settle
firewire0: New S400 device ID:00d04b0ce0100707
sa0 at isp0 bus 0 target 6 lun 0
sa0: <DEC DLT2000 840F> Removable Sequential Access SCSI-2 device
sa0: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device
da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing 
Enabled
da0: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <SEAGATE SX19171W 9D32> Fixed Direct Access SCSI-2 device
da1: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing 
Enabled
da1: 8683MB (17783112 512 byte sectors: 64H 32S/T 8683C)
da2 at sbp0 bus 0 target 0 lun 0
da2: <Oxford 911G 0135> Fixed Simplified Direct Access SCSI-4 device
da2: 50.000MB/s transfers
da2: 76351MB (156368016 512 byte sectors: 255H 63S/T 9733C)
Mounting root from ufs:/dev/da0s1a
vinum: drive backup is down
vinum: removing backup.p0.s0
vinum: backup.p0 is up
vinum: backup is up
vinum: removing backup.p0
vinum: backup is down
vinum: removing backup
vinum: drive backup is up
vinum: backup.p0.s0 is up
vinum: backup.p0 is up
vinum: backup is up



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41924020.8070509>