Re: ACPI suspend/ ATA reboots

From: Rene Ladan (r.c.ladan_at_student.tue.nl)
Date: 10/10/04

  • Next message: Christian Hiris: "Re: RAID1 with gmirror"
    Date: Sun, 10 Oct 2004 15:22:05 +0200
    To: freebsd-current@freebsd.org
    
    
    

    On Sat, Oct 09, 2004 at 01:19:58PM -0400, Anish Mistry wrote:
    > Running 6-CURRENT. Between 09.25.18.00.00 UTC and 09.26.12.00.00 UTC some
    > commit seemed to break suspending on my laptop. Whenever I try to suspend it
    > reboots. Before this suspend was working well. The panic message seem to
    > indicate an ATA issue.
    > http://am-productions.biz/docs/littleguy.asl.gz
    > http://am-productions.biz/docs/littleguy-dmesg.boot.gz
    > --
    > Anish Mistry

    Sort of "me too". I'm running 5.3BETA7 (2004-10-06 10:08UTC). Whenever
    I give the zzz command it tries to suspend but gets stuck in a
    lock-related panic:

    #zzz
    Sleeping on "atasusp" with the following non-sleepable locks held:
    exclusive sleep mutex ATA state lock r=0 (0xc1075318)
            locked @ /usr/src/sys/dev/ata/ata-all.c:341
    KDB: enter: witness-warn
    . panic
    uptime : .....
    panic: _mtx_lock_sleep: recursed on non-recursive mutex
            ATA state lock @ /usr/src/sys/dev/ata/ata-queue.c:180
    . panic
    panic: _mtx_lock_sleep: recursed on non-recursive mutex
            ATA state lock @ /usr/src/sys/dev/ata/ata-queue.c:86

    . show witness (top ones shown:)
    ATA queue lock ata-queue.c:174
    ATA state lock ata-all.c:341
    bio queue geom_io.c:65
    ATA disk bioqueue l*** ata-disk.c:236
    ATA CD bioqueue lock atapi-cd.c:1100
    ...

    Giving the panic command doesn't give me a crash dump.
    apm_enable is set to NO and dumpdev is set to /dev/ad0s1b in
    /etc/rc.conf

    dmesg -v:

    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 5.3-BETA7 #0: Tue Oct 5 22:35:15 CEST 2004
        root@82-168-140-74-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE_2004-09-05d
    WARNING: WITNESS option enabled, expect reduced performance.
    Preloaded elf kernel "/boot/kernel/kernel" at 0xc07ea000.
    Preloaded elf module "/boot/kernel/vesa.ko" at 0xc07ea1f4.
    Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc07ea2a0.
    Preloaded elf module "/boot/kernel/miibus.ko" at 0xc07ea34c.
    Preloaded elf module "/boot/kernel/snd_cs4281.ko" at 0xc07ea3f8.
    Preloaded elf module "/boot/kernel/sound.ko" at 0xc07ea4a8.
    Preloaded elf module "/boot/kernel/random.ko" at 0xc07ea554.
    Preloaded elf module "/boot/kernel/speaker.ko" at 0xc07ea600.
    Preloaded elf module "/boot/kernel/mem.ko" at 0xc07ea6ac.
    Preloaded elf module "/boot/kernel/io.ko" at 0xc07ea754.
    Preloaded elf module "/boot/kernel/intpm.ko" at 0xc07ea7fc.
    Preloaded elf module "/boot/kernel/smbus.ko" at 0xc07ea8a8.
    Preloaded elf module "/boot/kernel/cd9660_iconv.ko" at 0xc07ea954.
    Preloaded elf module "/boot/kernel/libiconv.ko" at 0xc07eaa08.
    Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc07eaab8.
    Preloaded elf module "/boot/kernel/msdosfs_iconv.ko" at 0xc07eab64.
    Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc07eac18.
    Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07eacc4.
    Calibrating clock(s) ... i8254 clock: 1193083 Hz
    CLK_USE_I8254_CALIBRATION not specified - using default frequency
    Timecounter "i8254" frequency 1193182 Hz quality 0
    Calibrating TSC clock ... TSC clock: 497559801 Hz
    CPU: Intel Celeron (497.56-MHz 686-class CPU)
      Origin = "GenuineIntel" Id = 0x683 Stepping = 3
      Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
    real memory = 201261056 (191 MB)
    Physical memory chunk(s):
    0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
    0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
    0x0000000000826000 - 0x000000000bc5ffff, 188981248 bytes (46138 pages)
    avail memory = 191459328 (182 MB)
    bios32: Found BIOS32 Service Directory header at 0xc00f63a0
    bios32: Entry = 0xfd8a6 (c00fd8a6) Rev = 0 Len = 1
    pcibios: PCI BIOS entry at 0xfd890+0x134
    pnpbios: Found PnP BIOS data at 0xc00f63d0
    pnpbios: Entry = f0000:aa9f Rev = 1.0
    Other BIOS signatures found:
    null: <null device, zero device>
    random: <entropy source, Software, Yarrow>
    mem: <memory>
    io: <I/O>
    VESA: information block
    56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00
    00 01 40 00 00 01 0b 01 00 01 21 01 00 01 2a 01
    00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01
    14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01
    VESA: 40 mode(s) found
    VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc06f6302 (1000022)
    VESA: ATI MACH64
    VESA: ATI Technologies Inc. MACH64RM 01.00
    acpi0: <FUJ IRIS> on motherboard
    acpi0: [MPSAFE]
    pci_open(1): mode 1 addr port (0x0cf8) is 0x80003904
    pci_open(1a): mode1res=0x80000000 (0x80000000)
    pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086)
    pcibios: BIOS version 2.10
    Found $PIR table, 7 entries at 0xc00fdf50
    PCI-Only Interrupts: none
    Location Bus Device Pin Link IRQs
    embedded 0 7 D 0x63 9 10 11
    embedded 0 4 A 0x60 10 11
    embedded 0 8 A 0x62 5 7 9 10
    slot 1 0 16 A 0x61 9
    slot 2 0 17 A 0x63 9
    embedded 0 1 A 0x61 9 10 11
    embedded 1 0 A 0x61 9 10 11
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 7 func 0
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 4 func 0
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 4 func 0
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 4 func 1
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 16 func 0
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 17 func 0
    acpi0: Power Button (fixed)
    acpi_bus_number: root bus has no _BBN, assuming 0
    AcpiOsDerivePciId: bus 0 dev 0 func 0
    acpi_ec0: <Embedded Controller: GPE 0x9> port 0x66,0x62 on acpi0
    acpi_ec0: info: new max delay is 180 us
    acpi_ec0: info: new max delay is 260 us
    ACPI timer looks BAD min = 2, max = 7, width = 5
    ACPI timer looks BAD min = 2, max = 7, width = 5
    ACPI timer looks BAD min = 2, max = 7, width = 5
    ACPI timer looks BAD min = 2, max = 6, width = 4
    ACPI timer looks BAD min = 2, max = 6, width = 4
    ACPI timer looks BAD min = 2, max = 6, width = 4
    ACPI timer looks BAD min = 2, max = 7, width = 5
    ACPI timer looks BAD min = 2, max = 7, width = 5
    ACPI timer looks BAD min = 2, max = 6, width = 4
    ACPI timer looks BAD min = 2, max = 7, width = 5
    Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
    acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
    cpu0: <ACPI CPU (3 Cx states)> on acpi0
    acpi_lid0: <Control Method Lid Switch> on acpi0
    acpi_button0: <Power Button> on acpi0
    pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
    ACPI PCI link initial configuration:
    \\_SB_.LNKD irq 0: [ 5 9 10 11] 9+ low,level,sharable 0.7.3
    \\_SB_.LNKA irq 0: [ 5 9 10 11] 11+ low,level,sharable 0.4.0
    \\_SB_.LNKB irq 0: [ 5 9 10 11] 9+ low,level,sharable 0.4.1
    \\_SB_.LNKC irq 0: [ 5 9 10 11] 5+ low,level,sharable 0.8.0
    \\_SB_.LNKB irq 0: [ 5 9 10 11] 9+ low,level,sharable 0.16.0
    \\_SB_.LNKD irq 0: [ 5 9 10 11] 9+ low,level,sharable 0.17.0
    pci0: <ACPI PCI bus> on pcib0
    pci0: physical bus=0
            map[10]: type 3, range 32, base e0000000, size 26, enabled
    found-> vendor=0x8086, dev=0x7190, revid=0x03
            bus=0, slot=0, func=0
            class=06-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0106, statreg=0x2210, cachelnsz=0 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
    found-> vendor=0x8086, dev=0x7191, revid=0x03
            bus=0, slot=1, func=0
            class=06-04-00, hdrtype=0x01, mfdev=0
            cmdreg=0x001f, statreg=0x0220, cachelnsz=0 (dwords)
            lattimer=0x80 (3840 ns), mingnt=0x8c (35000 ns), maxlat=0x00 (0 ns)
            map[10]: type 1, range 32, base 00000000, size 12, enabled
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=0
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
            map[10]: type 1, range 32, base 00000000, size 12, enabled
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=1
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    found-> vendor=0x8086, dev=0x7110, revid=0x02
            bus=0, slot=7, func=0
            class=06-80-00, hdrtype=0x00, mfdev=1
            cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
            lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
            map[20]: type 4, range 32, base 00001080, size 4, enabled
    found-> vendor=0x8086, dev=0x7111, revid=0x01
            bus=0, slot=7, func=1
            class=01-01-80, hdrtype=0x00, mfdev=0
            cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
            map[20]: type 4, range 32, base 000010a0, size 5, port disabled
    pcib0: matched entry for 0.7.INTD (src \\_SB_.LNKD)
    pcib0: possible interrupts: 5 9 10 11
    ACPI PCI link arbitrated settings:
    \\_SB_.LNKD (references 2, priority 175):
            interrupts: 11 10 5 9
            penalty: 60 60 110 120
    \\_SB_.LNKB (references 2, priority 175):
            interrupts: 11 10 5 9
            penalty: 60 60 110 120
    \\_SB_.LNKA (references 1, priority 87):
            interrupts: 11 10 5 9
            penalty: 60 60 110 120
    \\_SB_.LNKC (references 1, priority 87):
            interrupts: 11 10 5 9
            penalty: 60 60 110 120
    pcib0: slot 7 INTD routed to irq 9 via \\_SB_.LNKD
    found-> vendor=0x8086, dev=0x7112, revid=0x01
            bus=0, slot=7, func=2
            class=0c-03-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
            intpin=d, irq=9
            map[90]: type 4, range 32, base 0000ff80, size 4, enabled
    found-> vendor=0x8086, dev=0x7113, revid=0x03
            bus=0, slot=7, func=3
            class=06-80-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
            lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
            map[10]: type 1, range 32, base fc101000, size 12, enabled
            map[14]: type 1, range 32, base fc110000, size 16, enabled
    pcib0: matched entry for 0.8.INTA (src \\_SB_.LNKC)
    pcib0: possible interrupts: 5 9 10 11
    ACPI PCI link arbitrated settings:
    \\_SB_.LNKB (references 2, priority 335):
            interrupts: 11 10 5 9
            penalty: 120 120 170 260
    \\_SB_.LNKA (references 1, priority 167):
            interrupts: 11 10 5 9
            penalty: 120 120 170 260
    \\_SB_.LNKC (references 1, priority 167):
            interrupts: 11 10 5 9
            penalty: 120 120 170 260
    pcib0: slot 8 INTA routed to irq 5 via \\_SB_.LNKC
    found-> vendor=0x1013, dev=0x6005, revid=0x01
            bus=0, slot=8, func=0
            class=04-01-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0006, statreg=0x0210, cachelnsz=0 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x04 (1000 ns), maxlat=0x18 (6000 ns)
            intpin=a, irq=5
            powerspec 2 supports D0 D1 D2 D3 current D0
            map[10]: type 1, range 32, base fc100000, size 12, enabled
            map[14]: type 4, range 32, base 00001040, size 6, enabled
            map[18]: type 1, range 32, base fc000000, size 20, enabled
    pcib0: matched entry for 0.16.INTA (src \\_SB_.LNKB)
    pcib0: possible interrupts: 5 9 10 11
    ACPI PCI link arbitrated settings:
    \\_SB_.LNKB (references 2, priority 490):
            interrupts: 11 10 5 9
            penalty: 180 180 240 380
    \\_SB_.LNKA (references 1, priority 245):
            interrupts: 11 10 5 9
            penalty: 180 180 240 380
    pcib0: slot 16 INTA routed to irq 9 via \\_SB_.LNKB
    found-> vendor=0x8086, dev=0x1229, revid=0x08
            bus=0, slot=16, func=0
            class=02-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0013, statreg=0x0290, cachelnsz=8 (dwords)
            lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
            intpin=a, irq=9
            powerspec 2 supports D0 D1 D2 D3 current D0
    pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
    pcib1: secondary bus 1
    pcib1: subordinate bus 1
    pcib1: I/O decode 0x2000-0x2fff
    pcib1: memory decode 0xfc200000-0xfdffffff
    pcib1: prefetched decode 0xfff00000-0xfffff
    ACPI PCI link initial configuration:
    \\_SB_.LNKB irq* 9: [ 5 9 10 11] 9+ low,level,sharable 1.0.0
    pci1: <ACPI PCI bus> on pcib1
    pci1: physical bus=1
            map[10]: type 1, range 32, base fd000000, size 24, enabled
    pcib1: device (null) requested decoded memory range 0xfd000000-0xfdffffff
            map[14]: type 4, range 32, base 00002000, size 8, enabled
    pcib1: device (null) requested decoded I/O range 0x2000-0x20ff
            map[18]: type 1, range 32, base fc200000, size 12, enabled
    pcib1: device (null) requested decoded memory range 0xfc200000-0xfc200fff
    pcib1: matched entry for 1.0.INTA (src \\_SB_.LNKB)
    pcib1: slot 0 INTA is already routed to irq 9
    found-> vendor=0x1002, dev=0x4c4d, revid=0x64
            bus=1, slot=0, func=0
            class=03-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
            lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
            intpin=a, irq=9
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci1: <display, VGA> at device 0.0 (no driver attached)
    pci0: <bridge, PCI-CardBus> at device 4.0 (no driver attached)
    pci0: <bridge, PCI-CardBus> at device 4.1 (no driver attached)
    PCI-ISA bridge with incorrect subclass 0x80
    PCI-ISA bridge with incorrect subclass 0x80
    isab0: <PCI-ISA bridge> at device 7.0 on pci0
    isa0: <ISA bus> on isab0
    atapci0: <Intel PIIX4 UDMA33 controller> port 0x1080-0x108f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
    atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1080
    ata0: channel #0 on atapci0
    atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
    atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
    ata0: reset tp1 mask=03 ostat0=50 ostat1=00
    ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
    ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00
    ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
    ata0: [MPSAFE]
    ata1: channel #1 on atapci0
    atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
    atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
    ata1: reset tp1 mask=03 ostat0=50 ostat1=01
    ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
    ata1-slave: stat=0x01 err=0x04 lsb=0x00 msb=0x00
    ata1: reset tp2 stat0=00 stat1=01 devices=0x4<ATAPI_MASTER>
    ata1: [MPSAFE]
    pci0: <serial bus, USB> at device 7.2 (no driver attached)
    intpm0: <Intel 82371AB Power management controller> port 0xff80-0xff8f irq 9 at device 7.3 on pci0
    intpm0: Reserved 0x10 bytes for rid 0x90 type 4 at 0xff80
    intpm0: I/O mapped ff80
    intpm0: intr IRQ 9 enabled revision 0
    intpm0: [GIANT-LOCKED]
    intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
    smbus0: <System Management Bus> on intsmb0
    intpm0: PM I/O mapped 1000
    pcm0: <Crystal Semiconductor CS4281> mem 0xfc110000-0xfc11ffff,0xfc101000-0xfc101fff irq 5 at device 8.0 on pci0
    pcm0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfc101000
    pcm0: Reserved 0x10000 bytes for rid 0x14 type 3 at 0xfc110000
    pcm0: [GIANT-LOCKED]
    pcm0: <Cirrus Logic CS4297A AC97 Codec (id = 0x43525914)>
    pcm0: Codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Crystal Semi 3D Stereo Enhancement
    pcm0: Primary codec extended features AMAP
    pcm0: sndbuf_setmap bac4000, 4000; 0xca2d6000 -> bac4000
    pcm0: sndbuf_setmap bac0000, 4000; 0xca2da000 -> bac0000
    fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1040-0x107f mem 0xfc000000-0xfc0fffff,0xfc100000-0xfc100fff irq 9 at device 16.0 on pci0
    fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfc100000
    fxp0: using memory space register mapping
    fxp0: PCI IDs: 8086 1229 10cf 108e 0008
    fxp0: Dynamic Standby mode is disabled
    miibus0: <MII bus> on fxp0
    inphy0: <i82555 10/100 media interface> on miibus0
    inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    fxp0: bpf attached
    fxp0: Ethernet address: 00:d0:59:01:ed:22
    fxp0: [MPSAFE]
    unknown: not probed (disabled)
    speaker0 port 0x61 on acpi0
    atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
    atkbd0: <AT Keyboard> irq 1 on atkbdc0
    atkbd: the current kbd controller command byte 0047
    atkbd: keyboard ID 0x41ab (2)
    kbd0 at atkbd0
    kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
    atkbd0: [GIANT-LOCKED]
    psm0: unable to allocate IRQ
    psmcpnp0 irq 12 on acpi0
    psm0: current command byte:0047
    psm0: <PS/2 Mouse> irq 12 on atkbdc0
    psm0: [GIANT-LOCKED]
    psm0: model GlidePoint, device ID 0-00, 2 buttons
    psm0: config:00000000, flags:00000008, packet size:3
    psm0: syncmask:c0, syncbits:00
    acpi_acad0: <AC Adapter> on acpi0
    acpi_cmbat0: <Control Method Battery> on acpi0
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    unknown: not probed (disabled)
    npx0: [FAST]
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    ata: ata0 already exists; skipping it
    ata: ata1 already exists; skipping it
    atkbdc: atkbdc0 already exists; skipping it
    Trying Read_Port at 203
    Trying Read_Port at 243
    Trying Read_Port at 283
    Trying Read_Port at 2c3
    Trying Read_Port at 303
    Trying Read_Port at 343
    Trying Read_Port at 383
    Trying Read_Port at 3c3
    sc: sc0 already exists; skipping it
    vga: vga0 already exists; skipping it
    isa_probe_children: disabling PnP devices
    isa_probe_children: probing non-PnP devices
    orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
    pmtimer0 on isa0
    adv0: not probed (disabled)
    aha0: not probed (disabled)
    aic0: not probed (disabled)
    bt0: not probed (disabled)
    cs0: not probed (disabled)
    ed0: not probed (disabled)
    fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
    fe0: not probed (disabled)
    ie0: not probed (disabled)
    lnc0: not probed (disabled)
    pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
    pcic1: not probed (disabled)
    ppc0 failed to probe at irq 7 on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
    sio0 failed to probe at port 0x3f8 irq 4 flags 0x10 on isa0
    sio1 failed to probe at port 0x2f8 irq 3 on isa0
    sio2: not probed (disabled)
    sio3: not probed (disabled)
    sn0: not probed (disabled)
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    fb0 at vga0
    fb0: vga0, vga, type:VGA (5), flags:0x700ff
    fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
    fb0: init mode:24, bios mode:3, current mode:24
    fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
    vga0: vga: WARNING: video mode switching is not fully supported on this adapter
    VGA parameters upon power-up
    50 18 10 00 00 00 03 00 02 e7 73 4f 4f 97 52 83
    b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f
    b5 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
    3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
    VGA parameters in BIOS for mode 24
    50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
    bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
    b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
    3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
    EGA/VGA parameters to be used for mode 24
    50 18 10 00 00 00 03 00 02 e7 73 4f 4f 97 52 83
    b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f
    b5 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
    3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
    vt0: not probed (disabled)
    isa_probe_children: probing PnP devices
    Device configuration finished.
    Timecounter "TSC" frequency 497559801 Hz quality 800
    Timecounters tick every 1.000 msec
    lo0: bpf attached
    cpu0: set speed to 100.0%
    acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
    acpi_acad0: acline initialization start
    acpi_acad0: On Line
    acpi_acad0: acline initialization done, tried 1 times
    acpi_cmbat0: battery initialization start
    ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
    ata0-master: setting PIO4 on Intel PIIX4 chip
    ata0-master: setting UDMA33 on Intel PIIX4 chip
    ad0: <TOSHIBA MK4025GAS/KA100A> ATA-6 disk at ata0-master
    ad0: 38154MB (78140160 sectors), 77520 C, 16 H, 63 S, 512 B
    ad0: 16 secs/int, 1 depth queue, UDMA33
    GEOM: new disk ad0
    ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
    ata1-master: setting PIO4 on Intel PIIX4 chip
    ata1-master: setting UDMA33 on Intel PIIX4 chip
    acd0: <CD-224E/1.7A> CDROM drive at ata1 as master
    acd0: read 4134KB/s (4134KB/s), 128KB buffer, UDMA33
    acd0: Reads: CDR, CDRW, CDDA stream, packet
    acd0: Writes:
    acd0: Audio: play, 256 volume levels
    acd0: Mechanism: ejectable tray, unlocked
    acd0: Medium: no/blank disc
    [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:78140097
    [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
    [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
    [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
    GEOM: Configure ad0s1, start 32256 length 40007729664 end 40007761919
    GEOM: Configure ad0s1a, start 0 length 268435456 end 268435455
    GEOM: Configure ad0s1b, start 268435456 length 376217600 end 644653055
    GEOM: Configure ad0s1c, start 0 length 40007729664 end 40007729663
    GEOM: Configure ad0s1d, start 644653056 length 1073741824 end 1718394879
    GEOM: Configure ad0s1e, start 1718394880 length 268435456 end 1986830335
    GEOM: Configure ad0s1f, start 1986830336 length 38020899328 end 40007729663
    Mounting root from ufs:/dev/ad0s1a
    start_init: trying /sbin/init
    pci0: driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=0
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:0: reprobing on driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=1
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:1: reprobing on driver added
    found-> vendor=0x8086, dev=0x7112, revid=0x01
            bus=0, slot=7, func=2
            class=0c-03-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
            intpin=d, irq=9
    pci0:7:2: reprobing on driver added
    uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x10a0-0x10bf irq 9 at device 7.2 on pci0
    uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x10a0
    uhci0: [GIANT-LOCKED]
    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
    pci1: driver added
    found-> vendor=0x1002, dev=0x4c4d, revid=0x64
            bus=1, slot=0, func=0
            class=03-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
            lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
            intpin=a, irq=9
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci1:0:0: reprobing on driver added
    pci0: driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=0
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:0: reprobing on driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=1
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:1: reprobing on driver added
    pci1: driver added
    found-> vendor=0x1002, dev=0x4c4d, revid=0x64
            bus=1, slot=0, func=0
            class=03-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
            lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
            intpin=a, irq=9
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci1:0:0: reprobing on driver added
    pci0: driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=0
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:0: reprobing on driver added
    found-> vendor=0x104c, dev=0xac51, revid=0x00
            bus=0, slot=4, func=1
            class=06-07-00, hdrtype=0x02, mfdev=1
            cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords)
            lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns)
            intpin=a, irq=255
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci0:4:1: reprobing on driver added
    pci1: driver added
    found-> vendor=0x1002, dev=0x4c4d, revid=0x64
            bus=1, slot=0, func=0
            class=03-00-00, hdrtype=0x00, mfdev=0
            cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
            lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
            intpin=a, irq=9
            powerspec 1 supports D0 D1 D2 D3 current D0
    pci1:0:0: reprobing on driver added
    splash: image decoder found: blank_saver
    Linux ELF exec handler installed
    acpi_cmbat0: battery initialization failed, giving up

    kernel config:

    #
    # For more information on this file, please read the handbook section on
    # Kernel Configuration Files:
    #
    # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
    #
    # The handbook is also available locally in /usr/share/doc/handbook
    # if you've installed the doc distribution, otherwise always see the
    # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
    # latest information.
    #
    # An exhaustive list of options and more detailed explanations of the
    # device lines is also present in the ../../conf/NOTES and NOTES files.
    # If you are in doubt as to the purpose or necessity of a line, check first
    # in NOTES.
    #

    makeoptions DEBUG=-g

    machine i386
    cpu I686_CPU
    options CPU_FASTER_5X86_FPU
    ident RENE_2004-09-05d

    device apic

    options SCHED_ULE

    options KDB
    options DDB
    options GDB # remote GDB support
    options WITNESS
    options WITNESS_SKIPSPIN
    options WITNESS_KDB
    options INVARIANTS
    options INVARIANT_SUPPORT
    options AHC_REG_PRETTY_PRINT
    options AHD_REG_PRETTY_PRINT

    options ADAPTIVE_GIANT

    options INET #InterNETworking, mandatory
    options INET6 #IPv6 communications protocols
    #options IPSEC
    #options IPSEC_ESP

    options FFS #Berkeley Fast Filesystem
    options SOFTUPDATES #Enable FFS soft updates support
    options UFS_ACL #Support for access control lists
    options UFS_DIRHASH #Improve performance on big directories

    options COMPAT_FREEBSD4 #Compatible with FreeBSD4
    options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]

    options KTRACE

    options PQ_CACHESIZE=32 #32kB L2 Cache

    options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

    device isa
    device pci

    # ATA and ATAPI devices
    device ata
    device atadisk # ATA disk drives
    device atapicd # ATAPI CDROM drives

    # atkbdc0 controls both the keyboard and the PS/2 mouse
    device atkbdc # AT keyboard controller
    device atkbd
    options KBD_INSTALL_CDEV

    device psm # PS/2 mouse
    # syscons is the default console driver, resembling an SCO console
    device sc
    options SC_TWOBUTTON_MOUSE

    device vga # VGA video card driver
    options FB_INSTALL_CDEV

    device npx # Floating point support - do not disable.

    options DEVICE_POLLING # improve fxp0 performance
    options HZ=1000 # for DEVICE_POLLING, interrrupt rate

    device loop # Network loopback
    device ether # Ethernet support
    device pty # Pseudo-ttys (telnet,xterm etc)
    device bpf # needed for DHCP
    options XBONEHACK # same address pairs over multiple gif intf
    options PPP_BSDCOMP
    options PPP_DEFLATE
    options PPP_FILTER

    device splash #screensaver/splash screen

    device pmtimer

    kldstat:

    Id Refs Address Size Name
     1 28 0xc0400000 2f1cd8 kernel
     2 1 0xc06f2000 547c vesa.ko
     3 1 0xc06f8000 a83c if_fxp.ko
     4 2 0xc0703000 1aa04 miibus.ko
     5 1 0xc071e000 597c snd_cs4281.ko
     6 2 0xc0724000 21600 sound.ko
     7 1 0xc0746000 c280 random.ko
     8 1 0xc0753000 3084 speaker.ko
     9 1 0xc0757000 2b4c mem.ko
    10 1 0xc075a000 1cec io.ko
    11 1 0xc075c000 450c intpm.ko
    12 2 0xc0761000 3724 smbus.ko
    13 1 0xc0765000 1e6c cd9660_iconv.ko
    14 5 0xc0767000 4bdc libiconv.ko
    15 2 0xc076c000 a64c cd9660.ko
    16 1 0xc0777000 1e80 msdosfs_iconv.ko
    17 2 0xc0779000 10b00 msdosfs.ko
    18 14 0xc078a000 5e764 acpi.ko
    19 1 0xc1265000 26000 usb.ko
    20 1 0xc12ab000 2000 blank_saver.ko
    21 1 0xc12c0000 1b000 linux.ko
    22 1 0xc12db000 4000 sysvmsg.ko
    23 1 0xc12e6000 5000 sysvsem.ko
    24 1 0xc12f8000 4000 sysvshm.ko

    Rene

    
    



  • Next message: Christian Hiris: "Re: RAID1 with gmirror"