problems with DMA - BSD

This is a discussion on problems with DMA - BSD ; Hi, I have a few months old computer with 2 SATA HDDs and an IDE DVD-R. The problem is that if I do a normal startup the machine freezes so I have to reboot. Yet in the "safe mode" it ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: problems with DMA

  1. problems with DMA

    Hi,

    I have a few months old computer with 2 SATA HDDs and an IDE DVD-R.
    The problem is that if I do a normal startup the machine freezes so I
    have to reboot. Yet in the "safe mode" it boots up fine, but of course
    without DMA which makes DVD writing (foremost) painfuly slow and is
    slowing down the whole PC.
    I first contributed this to a faulty DVD writer, so I got me a new one.
    Go figure, the same problem...


    Any hints?


    Some relevant info from dmesg:


    CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.53-MHz 686-class CPU)
    Origin = "GenuineIntel" Id = 0xf64 Stepping = 4

    Features=0xbfebfbff
    Features2=0xe49d,>
    AMD Features=0x20100000
    AMD Features2=0x1
    Cores per package: 2
    real memory = 1073283072 (1023 MB)
    avail memory = 1032724480 (984 MB)
    ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
    acd0: DVDR at ata4-master PIO4
    ad10: 157066MB at ata5-master SATA150
    ad12: 238475MB at ata6-master SATA150
    cd0 at ata4 bus 0 target 0 lun 0
    cd0: Removable CD-ROM SCSI-0 device
    cd0: 16.000MB/s transfers
    cd0: Attempt to query device size failed: NOT READY, Medium not present


  2. Re: problems with DMA

    Us wrote:

    > Some relevant info from dmesg:


    [SNIP]

    unfortunately, some *crucial* info is missing : which chipset ? which
    FreeBSD release ? (which architecture ?)

    Please come back with at least the full dmesg

    cheers

    TfH

    --
    retirez les "------%------" pour une adresse correcte

  3. Re: problems with DMA

    Thierry Herbelot wrote:
    > Us wrote:
    >
    >> Some relevant info from dmesg:

    >
    > [SNIP]
    >
    > unfortunately, some *crucial* info is missing : which chipset ? which
    > FreeBSD release ? (which architecture ?)
    >
    > Please come back with at least the full dmesg
    >
    > cheers
    >
    > TfH
    >


    Back with vengeance (well, full dmesg in fact)
    Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
    FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.53-MHz 686-class CPU)
    Origin = "GenuineIntel" Id = 0xf64 Stepping = 4

    Features=0xbfebfbff
    Features2=0xe49d,>
    AMD Features=0x20100000
    AMD Features2=0x1
    Cores per package: 2
    real memory = 1073283072 (1023 MB)
    avail memory = 1032724480 (984 MB)
    ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
    cpu0 on motherboard
    pcib0: pcibus 0 on motherboard
    pir0: on motherboard
    $PIR: BIOS IRQ 15 for 0.29.INTC does not match link 0x62 irq 10
    $PIR: BIOS IRQ 15 for 0.26.INTC does not match link 0x62 irq 10
    pci0: on pcib0
    pcib1: irq 11 at device 1.0 on pci0
    pci1: on pcib1
    nvidia0: mem
    0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff at
    device 0.0 on pci1
    nvidia0: [GIANT-LOCKED]
    uhci0: port 0xdc00-0xdc1f irq 11 at
    device 26.0 on pci0
    uhci0: [GIANT-LOCKED]
    usb0: 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
    uhci1: port 0xe000-0xe01f irq 5 at
    device 26.1 on pci0
    uhci1: [GIANT-LOCKED]
    usb1: on uhci1
    usb1: USB revision 1.0
    uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub1: 2 ports with 2 removable, self powered
    ehci0: mem 0xfebffc00-0xfebfffff irq
    10 at device 26.7 on pci0
    ehci0: [GIANT-LOCKED]
    usb2: waiting for BIOS to give up control
    usb2: EHCI version 1.0
    usb2: companion controllers, 2 ports each: usb0 usb1
    usb2: on ehci0
    usb2: USB revision 2.0
    uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub2: 4 ports with 4 removable, self powered
    pcm0: mem
    0xfebf8000-0xfebfbfff irq 3 at device 27.0 on pci0
    pcib2: irq 11 at device 28.0 on pci0
    pci3: on pcib2
    pcib3: irq 11 at device 28.4 on pci0
    pci2: on pcib3
    atapci0: port
    0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f
    mem 0xfe9fe000-0xfe9fffff irq 11 at device 0.0 on pci2
    atapci0: AHCI Version 01.00 controller with 2 ports detected
    ata2: on atapci0
    ata3: on atapci0
    ata4: on atapci0
    uhci2: port 0xd480-0xd49f irq 14 at
    device 29.0 on pci0
    uhci2: [GIANT-LOCKED]
    usb3: on uhci2
    usb3: USB revision 1.0
    uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub3: 2 ports with 2 removable, self powered
    uhci3: port 0xd800-0xd81f irq 10 at
    device 29.1 on pci0
    uhci3: [GIANT-LOCKED]
    usb4: on uhci3
    usb4: USB revision 1.0
    uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub4: 2 ports with 2 removable, self powered
    uhci4: port 0xd880-0xd89f irq 10 at
    device 29.2 on pci0
    uhci4: [GIANT-LOCKED]
    usb5: on uhci4
    usb5: USB revision 1.0
    uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub5: 2 ports with 2 removable, self powered
    ehci1: mem 0xfebff800-0xfebffbff irq
    14 at device 29.7 on pci0
    ehci1: [GIANT-LOCKED]
    usb6: waiting for BIOS to give up control
    usb6: timed out waiting for BIOS
    usb6: EHCI version 1.0
    usb6: companion controllers, 2 ports each: usb3 usb4 usb5
    usb6: on ehci1
    usb6: USB revision 2.0
    uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub6: 6 ports with 6 removable, self powered
    pcib4: at device 30.0 on pci0
    pci4: on pcib4
    dc0: port 0xb800-0xb8ff mem
    0xfeaffc00-0xfeafffff irq 3 at device 1.0 on pci4
    miibus0: on dc0
    ukphy0: on miibus0
    ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    dc0: Ethernet address: 00:04:e2:94:86:38
    isab0: at device 31.0 on pci0
    isa0: on isab0
    atapci1: port
    0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f
    irq 10 at device 31.2 on pci0
    ata5: on atapci1
    ata6: on atapci1
    pci0: at device 31.3 (no driver attached)
    atapci2: port
    0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f
    irq 10 at device 31.5 on pci0
    ata7: on atapci2
    ata8: on atapci2
    pmtimer0 on isa0
    orm0: at iomem 0xce800-0xd17ff on isa0
    ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
    ata1 at port 0x170-0x177,0x376 irq 15 on isa0
    atkbdc0: at port 0x60,0x64 on isa0
    atkbd0: irq 1 on atkbdc0
    kbd0 at atkbd0
    atkbd0: [GIANT-LOCKED]
    ppc0: at port 0x378-0x37f irq 7 on isa0
    ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
    ppc0: FIFO with 16/16/9 bytes threshold
    ppbus0: on ppc0
    ppbus0: IEEE1284 device found /NIBBLE
    Probing for PnP devices on ppbus0:
    ppbus0: HP ENHANCED PCL5,PJL
    plip0: on ppbus0
    lpt0: on ppbus0
    lpt0: Interrupt-driven port
    ppi0: on ppbus0
    sc0: at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sio0: configured irq 4 not in bitmap of probed irqs 0
    sio0: port may not be enabled
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 16550A
    sio1: configured irq 3 not in bitmap of probed irqs 0
    sio1: port may not be enabled
    vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    unknown: can't assign resources (memory)
    unknown: can't assign resources (port)
    unknown: can't assign resources (memory)
    ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
    ums0: 3 buttons and Z dir.
    ugen0: Avision USB Scanner, rev 1.10/0.00, addr 2
    Timecounter "TSC" frequency 2808534890 Hz quality 800
    Timecounters tick every 1.000 msec
    acd0: DVDR at ata4-master PIO4
    ad10: 157066MB at ata5-master SATA150
    ad12: 238475MB at ata6-master SATA150
    pcm0:
    pcm0:
    cd0 at ata4 bus 0 target 0 lun 0
    cd0: Removable CD-ROM SCSI-0 device
    cd0: 16.000MB/s transfers
    cd0: Attempt to query device size failed: NOT READY, Medium not present
    Trying to mount root from ufs:/dev/ad12s1a


  4. Re: problems with DMA

    Einherjar wrote:

    > FreeBSD is a registered trademark of The FreeBSD Foundation.
    > FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
    > Timecounter "i8254" frequency 1193182 Hz quality 0
    > CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.53-MHz 686-class CPU)
    > Origin = "GenuineIntel" Id = 0xf64 Stepping = 4
    >
    >

    Features=0xbfebfbff
    > Features2=0xe49d,>
    > AMD Features=0x20100000
    > AMD Features2=0x1
    > Cores per package: 2

    [SNIP]
    > atapci0: port
    > 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f
    > mem 0xfe9fe000-0xfe9fffff irq 11 at device 0.0 on pci2
    > atapci0: AHCI Version 01.00 controller with 2 ports detected
    > ata2: on atapci0
    > ata3: on atapci0
    > ata4: on atapci0

    [SNIP]
    > cd0 at ata4 bus 0 target 0 lun 0
    > cd0: Removable CD-ROM SCSI-0 device
    > cd0: 16.000MB/s transfers
    > cd0: Attempt to query device size failed: NOT READY, Medium not present
    > Trying to mount root from ufs:/dev/ad12s1a


    Hello,

    This is getting better :-)

    it seems that you have connected the cdrom to the JMicron chip : is there
    any reason ? (it seems that you have two free SATA ports on the Intel ICH
    chipset, which may be better supported than the JMicron chip)

    another interesting point would be to boot in "normal" (non-safe) mode,
    while enabling the verbose messages to pinpoint where the boot is hanging.

    you could also try the latest 6.3-Beta2 iso (there should be a Live CD,
    therefor no need to install it)

    you could also try simplifying your configuration by removing the nvidia
    kernel module to see if it causes the PC freeze.

    TfH

    --
    retirez les "------%------" pour une adresse correcte

  5. Re: problems with DMA

    Thierry Herbelot wrote:
    > Einherjar wrote:
    >
    >> FreeBSD is a registered trademark of The FreeBSD Foundation.
    >> FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    >> root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
    >> Timecounter "i8254" frequency 1193182 Hz quality 0
    >> CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.53-MHz 686-class CPU)
    >> Origin = "GenuineIntel" Id = 0xf64 Stepping = 4
    >>
    >>

    > Features=0xbfebfbff
    >> Features2=0xe49d,>
    >> AMD Features=0x20100000
    >> AMD Features2=0x1
    >> Cores per package: 2

    > [SNIP]
    >> atapci0: port
    >> 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f
    >> mem 0xfe9fe000-0xfe9fffff irq 11 at device 0.0 on pci2
    >> atapci0: AHCI Version 01.00 controller with 2 ports detected
    >> ata2: on atapci0
    >> ata3: on atapci0
    >> ata4: on atapci0

    > [SNIP]
    >> cd0 at ata4 bus 0 target 0 lun 0
    >> cd0: Removable CD-ROM SCSI-0 device
    >> cd0: 16.000MB/s transfers
    >> cd0: Attempt to query device size failed: NOT READY, Medium not present
    >> Trying to mount root from ufs:/dev/ad12s1a

    >
    > Hello,
    >
    > This is getting better :-)
    >
    > it seems that you have connected the cdrom to the JMicron chip : is there
    > any reason ? (it seems that you have two free SATA ports on the Intel ICH
    > chipset, which may be better supported than the JMicron chip)
    >
    > another interesting point would be to boot in "normal" (non-safe) mode,
    > while enabling the verbose messages to pinpoint where the boot is hanging.
    >
    > you could also try the latest 6.3-Beta2 iso (there should be a Live CD,
    > therefor no need to install it)
    >
    > you could also try simplifying your configuration by removing the nvidia
    > kernel module to see if it causes the PC freeze.
    >
    > TfH
    >


    I tried the sata version of the DVD writer, but after a milion reboots
    found on the net, that SATA is not supported...
    I'll try 6.3 and will let you know.

  6. Re: problems with DMA

    On Sat, 17 Nov 2007 11:03:10 +0100, Einherjar wrote:
    : I tried the sata version of the DVD writer, but after a milion reboots
    : found on the net, that SATA is not supported...
    : I'll try 6.3 and will let you know.

    You may want to just go all the way up to 7.0beta3. Whatever's been
    done in it nailed the problems I was having during heavy disk access
    when the nvidia card was in the system (even without the nvidia.ko)
    and there was ethernet activity. This on a striker extreme.

    Someone correct me if I'm wrong but I think 7.0 will be the new
    -STABLE when all of these beta cycles end

  7. Re: problems with DMA

    Howard Goldstein wrote:
    > On Sat, 17 Nov 2007 11:03:10 +0100, Einherjar wrote:
    > : I tried the sata version of the DVD writer, but after a milion reboots
    > : found on the net, that SATA is not supported...
    > : I'll try 6.3 and will let you know.
    >
    > You may want to just go all the way up to 7.0beta3. Whatever's been
    > done in it nailed the problems I was having during heavy disk access
    > when the nvidia card was in the system (even without the nvidia.ko)
    > and there was ethernet activity. This on a striker extreme.
    >
    > Someone correct me if I'm wrong but I think 7.0 will be the new
    > -STABLE when all of these beta cycles end


    Well, I just upgraded my machine to 7.0 and everything works (excpet
    some nvdia stuff, but that's mostly annoying not erroneous.
    Thank you all for the suggestions.

+ Reply to Thread