tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: svwsata: lost/missing interrupt



This has nothing to do with it, but I find it weird:

The PCI identifiers are transformed into strings, and this accounts
for the majority of the differences, but here there is:

> -pcib0 at pci0 dev 2 function 2: vendor 1166 product 0234 (rev. 0x00)
> -ohci0 at pci0 dev 3 function 0: vendor 1166 product 0223 (rev. 0x01)
> +pcib0 at pci0 dev 2 function 2: ServerWorks HT1000 LPC (rev. 0x00)
> +ohci0 at pci0 dev 3 function 0: ServerWorks HT1000 USB (rev. 0x01)

So vendor 1166 is translated to "ServerWorks" (PCI lookup says
"Broadcom" since it has been acquired), product 0223 to HT1000 USB
(this one corresponds to the PCI database)

> -uhub1 at usb0: vendor 1166 (0x1166) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
> +uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
But further on we have:

Suddenly, the vendor is translated to NetBSD with 0x0000?

Is there an offset problem somewhere?

On Tue, Feb 18, 2025 at 12:35:41PM +0100, Edgar Fuß wrote:
> So here's the complete diff of dmesg.boot between -8 and -10 on the same machine:

> --- dmesg.boot-8	2025-02-18 12:25:55.008057571 +0100
> +++ dmesg.boot-10	2025-02-18 12:05:24.731192304 +0100
> @@ -1,56 +1,56 @@
> -Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> -    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
> -    2018, 2019, 2020, 2021, 2022, 2023
> +Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
> +    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
> +    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
> +    2024
>      The NetBSD Foundation, Inc.  All rights reserved.
>  Copyright (c) 1982, 1986, 1989, 1991, 1993
>      The Regents of the University of California.  All rights reserved.
>  
> -NetBSD 8.2_STABLE (MI-Server) #25: Mon Oct  9 14:52:42 CEST 2023
> -	ef%peene.math.uni-bonn.de@localhost:/var/work/obj-8/sys/arch/amd64/compile/miserv
> +NetBSD 10.1 (MI-Server) #8: Mon Feb 17 13:12:03 CET 2025
> +	ef%peene.math.uni-bonn.de@localhost:/var/work/obj-10/sys/arch/amd64/compile/miserv
>  total memory = 4095 MB
> -avail memory = 3964 MB
> +avail memory = 3943 MB
>  timecounter: Timecounters tick every 10.000 msec
>  Kernelized RAIDframe activated
> -running cgd selftest aes-xts-256 aes-xts-512 done
>  timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> -To Be Filled By O.E.M. To Be Filled By O.E.M. (To Be Filled By O.E.M.)
>  mainbus0 (root)
>  ACPI: RSDP 0x00000000000F7CB0 000024 (v02 ACPIAM)
>  ACPI: XSDT 0x00000000F5FF0100 000044 (v01 A M I  OEMXSDT  02000829 MSFT 00000097)
>  ACPI: FACP 0x00000000F5FF0290 0000F4 (v03 A M I  OEMFACP  02000829 MSFT 00000097)
> -ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 96/64 (20170303/tbfadt-642)
> +Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe1Block: 96/64 (20221020/tbfadt-640)
>  ACPI: DSDT 0x00000000F5FF0400 003018 (v01 0AAAA  0AAAA000 00000000 INTL 02002026)
>  ACPI: FACS 0x00000000F5FFE000 000040
> -ACPI: FACS 0x00000000F5FFE000 000040
>  ACPI: APIC 0x00000000F5FF0390 000070 (v01 A M I  OEMAPIC  02000829 MSFT 00000097)
>  ACPI: OEMB 0x00000000F5FFE040 000056 (v01 A M I  AMI_OEM  02000829 MSFT 00000097)
>  ACPI: SSDT 0x00000000F5FF3420 000182 (v01 A M I  POWERNOW 00000001 AMD  00000001)
> -ACPI: Executed 1 blocks of module-level executable AML code
>  ACPI: 2 ACPI AML tables successfully acquired and loaded
>  ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x11, 16 pins
>  ioapic1 at mainbus0 apid 3: pa 0xfec01000, version 0x11, 16 pins
>  ioapic2 at mainbus0 apid 4: pa 0xfec02000, version 0x11, 16 pins
>  cpu0 at mainbus0 apid 0
> +cpu0: Use mfence to serialize rdtsc
>  cpu0: Dual-Core AMD Opteron(tm) Processor 1210, id 0x40f32
> -cpu0: package 0, core 0, smt 0
> +cpu0: node 0, package 0, core 0, smt 0
> +cpu0: searching errata for cpu revision 0x00040f32
>  cpu1 at mainbus0 apid 1
>  cpu1: Dual-Core AMD Opteron(tm) Processor 1210, id 0x40f32
> -cpu1: package 0, core 1, smt 0
> -acpi0 at mainbus0: Intel ACPICA 20170303
> +cpu1: node 0, package 0, core 1, smt 0
> +acpi0 at mainbus0: Intel ACPICA 20221020
>  acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,02000829>, AslId <MSFT,00000097>
>  acpi0: SCI interrupting at int 9
> +acpi0: fixed power button present
> +acpi0: fixed sleep button present
>  timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
>  attimer0 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
>  pckbc0 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
>  pcppi0 at acpi0 (SPKR, PNP0800): io 0x61
> +spkr0 at pcppi0: PC Speaker
> +wsbell at spkr0 not configured
>  sysbeep0 at pcppi0
>  com0 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
> -com0: ns16550a, working fifo
> +com0: ns16550a, 16-byte FIFO
>  com1 at acpi0 (UAR2, PNP0501-2): io 0x2f8-0x2ff irq 3 drq 0
> -com1: ns16550a, working fifo
> -SIOR (PNP0C02) at acpi0 not configured
> -RMSC (PNP0C02) at acpi0 not configured
> -OMSC (PNP0C02) at acpi0 not configured
> +com1: ns16550a, 16-byte FIFO
>  RMEM (PNP0C01) at acpi0 not configured
>  acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
>  pckbd0 at pckbc0 (kbd slot)
> @@ -59,10 +59,10 @@
>  attimer0: attached to pcppi0
>  pci0 at mainbus0 bus 0: configuration mode 1
>  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> -ppb0 at pci0 dev 1 function 0: vendor 1166 product 0036 (rev. 0x00)
> +ppb0 at pci0 dev 1 function 0: ServerWorks HT1000 PCI/PCI-X Bridge (rev. 0x00)
>  pci1 at ppb0 bus 1
>  pci1: i/o space, memory space enabled
> -ppb1 at pci1 dev 13 function 0: vendor 1166 product 0104 (rev. 0xc0)
> +ppb1 at pci1 dev 13 function 0: ServerWorks HT1000 PCI/PCI-X Bridge (rev. 0xc0)
>  pci2 at ppb1 bus 2
>  pci2: i/o space, memory space enabled
>  svwsata0 at pci1 dev 14 function 0: ServerWorks HT-1000 SATA Controller (rev. 0x00)
> @@ -76,7 +76,7 @@
>  atabus2 at svwsata0 channel 2
>  svwsata0: secondary channel configured to compatibility mode
>  atabus3 at svwsata0 channel 3
> -piixpm0 at pci0 dev 2 function 0: vendor 1166 product 0205 (rev. 0x00)
> +piixpm0 at pci0 dev 2 function 0: ServerWorks HT1000SB South Bridge (rev. 0x00)
>  piixpm0: polling
>  iic0 at piixpm0 port 0: I2C bus
>  spdmem0 at iic0 addr 0x50
> @@ -99,25 +99,28 @@
>  rccide0: secondary channel configured to compatibility mode
>  rccide0: secondary channel interrupting at ioapic0 pin 15
>  atabus5 at rccide0 channel 1
> -pcib0 at pci0 dev 2 function 2: vendor 1166 product 0234 (rev. 0x00)
> -ohci0 at pci0 dev 3 function 0: vendor 1166 product 0223 (rev. 0x01)
> +pcib0 at pci0 dev 2 function 2: ServerWorks HT1000 LPC (rev. 0x00)
> +ohci0 at pci0 dev 3 function 0: ServerWorks HT1000 USB (rev. 0x01)
>  ohci0: interrupting at ioapic0 pin 10
>  ohci0: OHCI version 1.0, legacy support
>  ohci0: autoconfiguration error: SMM does not respond, resetting
>  usb0 at ohci0: USB revision 1.0
> -ohci1 at pci0 dev 3 function 1: vendor 1166 product 0223 (rev. 0x01)
> +ohci1 at pci0 dev 3 function 1: ServerWorks HT1000 USB (rev. 0x01)
>  ohci1: interrupting at ioapic0 pin 10
>  ohci1: OHCI version 1.0, legacy support
>  usb1 at ohci1: USB revision 1.0
> -ehci0 at pci0 dev 3 function 2: vendor 1166 product 0223 (rev. 0x01)
> +ehci0 at pci0 dev 3 function 2: ServerWorks HT1000 USB (rev. 0x01)
> +ehci0: 32-bit DMA
>  ehci0: interrupting at ioapic0 pin 10
>  ehci0: EHCI version 1.0
>  ehci0: 2 companion controllers, 2 ports each: ohci0 ohci1
> +ehci0: Using DMA subregion for control data structures
>  usb2 at ehci0: USB revision 2.0
>  wm0 at pci0 dev 4 function 0, 64-bit DMA: Intel i82541GI 1000BASE-T Ethernet (rev. 0x05)
>  wm0: interrupting at ioapic1 pin 8
>  wm0: 32-bit 33MHz PCI bus
>  wm0: 256 words (8 address bits) MicroWire EEPROM
> +wm0: RX packet buffer size: 48KB
>  wm0: Ethernet address 00:e0:81:b1:6f:50
>  wm0: 0x220402<LOCK_EECD,IOH_VALID,ASF_FIRM,WOL>
>  igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
> @@ -126,17 +129,18 @@
>  wm1: interrupting at ioapic1 pin 9
>  wm1: 32-bit 33MHz PCI bus
>  wm1: 64 words (6 address bits) MicroWire EEPROM
> +wm1: RX packet buffer size: 48KB
>  wm1: Ethernet address 00:e0:81:b1:6f:51
>  wm1: 0x220402<LOCK_EECD,IOH_VALID,ASF_FIRM,WOL>
>  igphy1 at wm1 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
>  igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> -vga0 at pci0 dev 6 function 0: vendor 18ca product 0020 (rev. 0x00)
> +vga0 at pci0 dev 6 function 0: XGI Technology Volari Z7/Z9/Z9s (rev. 0x00)
>  wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
>  wsmux1: connecting to wsdisplay0
>  drm at vga0 not configured
> -pchb0 at pci0 dev 24 function 0: vendor 1022 product 1100 (rev. 0x00)
> -pchb1 at pci0 dev 24 function 1: vendor 1022 product 1101 (rev. 0x00)
> -pchb2 at pci0 dev 24 function 2: vendor 1022 product 1102 (rev. 0x00)
> +pchb0 at pci0 dev 24 function 0: AMD K8 AMD64 HyperTransport Configuration (rev. 0x00)
> +pchb1 at pci0 dev 24 function 1: AMD K8 AMD64 Address Map Configuration (rev. 0x00)
> +pchb2 at pci0 dev 24 function 2: AMD K8 AMD64 DRAM Configuration (rev. 0x00)
>  amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
>  amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (K8: core rev JH-F2, socket AM2)
>  isa0 at pcib0
> @@ -146,15 +150,15 @@
>  acpicpu0: P1: FFH, lat 100 us, pow 37991 mW, 1000 MHz
>  acpicpu1 at cpu1: ACPI CPU
>  timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> -IPsec: Initialized Security Association Processing.
> -uhub0 at usb1: vendor 1166 (0x1166) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
> +uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
>  uhub0: 2 ports with 2 removable, self powered
> -uhub1 at usb0: vendor 1166 (0x1166) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
> +uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
>  uhub1: 2 ports with 2 removable, self powered
> -uhub2 at usb2: vendor 1166 (0x1166) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
> +uhub2 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
>  uhub2: 4 ports with 4 removable, self powered
> -svwsata0 port 0: device present, speed: 1.5Gb/s
> +IPsec: Initialized Security Association Processing.
>  svwsata0 port 1: device present, speed: 1.5Gb/s
> +svwsata0 port 0: device present, speed: 1.5Gb/s
>  svwsata0 port 2: device present, speed: 1.5Gb/s
>  svwsata0 port 3: device present, speed: 1.5Gb/s
>  wd0 at atabus0 drive 0
> @@ -162,23 +166,23 @@
>  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
>  wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
>  wd0: 32-bit data port
> -wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> -wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> +wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
> +wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA), WRITE DMA FUA EXT
>  wd1 at atabus1 drive 0
>  wd1: <CT250MX500SSD1>
>  wd1: drive supports 1-sector PIO transfers, LBA48 addressing
> -wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
> +wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors (4096 bytes/physsect; first aligned sector: 8)
>  wd1: 32-bit data port
> -wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> -wd1(svwsata0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> +wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> +wd1(svwsata0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA), WRITE DMA FUA EXT
>  wd2 at atabus2 drive 0
>  wd2: <WDC WD2502ABYS-01B7A0>
>  wd2: drive supports 16-sector PIO transfers, LBA48 addressing
>  wd2: 233 GB, 486459 cyl, 16 head, 63 sec, 512 bytes/sect x 490350672 sectors
>  wd2: 32-bit data port
> -wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> -wd2(svwsata0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> -atapibus0 at atabus3: 2 targets
> +wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> +wd2(svwsata0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA), WRITE DMA FUA EXT
> +atapibus0 at atabus3: 1 targets
>  cd0 at atapibus0 drive 0: <TSSTcorpDVD-ROM SH-D163B, , SB01> cdrom removable
>  cd0: 32-bit data port
>  cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> @@ -190,8 +194,14 @@
>  boot device: raid0
>  root on raid0a dumps on raid0b
>  root file system type: ffs
> -kern.module.path=/stand/amd64/8.2/modules
> +kern.module.path=/stand/amd64/10.1/modules
> +entropy: best effort
> +arp_llinfo_output: source can't be determined: dst=131.220.132.161
> +arp_llinfo_output: source can't be determined: dst=131.220.132.161
> +arp_llinfo_output: source can't be determined: dst=131.220.132.161
>  wsdisplay0: screen 1 added (80x25, vt100 emulation)
>  wsdisplay0: screen 2 added (80x25, vt100 emulation)
>  wsdisplay0: screen 3 added (80x25, vt100 emulation)
>  wsdisplay0: screen 4 added (80x25, vt100 emulation)
> +arp_llinfo_output: source can't be determined: dst=131.220.132.161
> +arp_llinfo_output: source can't be determined: dst=131.220.132.161


-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index