-
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>,<b15>>
AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
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 <Optiarc DVD RW AD-7173A/1-01> at ata4-master PIO4
ad10: 157066MB <ExcelStor Technology J8160S P22OA50U> at ata5-master SATA150
ad12: 238475MB <Seagate ST3250620AS 3.AAE> at ata6-master SATA150
cd0 at ata4 bus 0 target 0 lun 0
cd0: <Optiarc DVD RW AD-7173A 1-01> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
-
Re: problems with DMA
Us wrote:
[color=blue]
> Some relevant info from dmesg:[/color]
[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
-
Re: problems with DMA
Thierry Herbelot wrote:[color=blue]
> Us wrote:
>[color=green]
>> Some relevant info from dmesg:[/color]
>
> [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
>[/color]
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
[email]root@dessler.cse.buffalo.edu[/email]:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>,<b15>>
AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
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: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 16 Entries> 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: <PCI bus> on pcib0
pcib1: <PCIBIOS PCI-PCI bridge> irq 11 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce 7300 GS> mem
0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff at
device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 11 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) 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
uhci1: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 5 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <Intel 82801H High Definition Audio Controller> mem
0xfebf8000-0xfebfbfff irq 3 at device 27.0 on pci0
pcib2: <PCIBIOS PCI-PCI bridge> irq 11 at device 28.0 on pci0
pci3: <PCI bus> on pcib2
pcib3: <PCIBIOS PCI-PCI bridge> irq 11 at device 28.4 on pci0
pci2: <PCI bus> on pcib3
atapci0: <JMicron JMB363 SATA300 controller> 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: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
uhci2: <UHCI (generic) USB controller> port 0xd480-0xd49f irq 14 at
device 29.0 on pci0
uhci2: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 10 at
device 29.1 on pci0
uhci3: [GIANT-LOCKED]
usb4: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 10 at
device 29.2 on pci0
uhci4: [GIANT-LOCKED]
usb5: <UHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> on pcib4
dc0: <Accton EN2242 MiniPCI 10/100BaseTX> port 0xb800-0xb8ff mem
0xfeaffc00-0xfeafffff irq 3 at device 1.0 on pci4
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:04:e2:94:86:38
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH8 SATA300 controller> port
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f
irq 10 at device 31.2 on pci0
ata5: <ATA channel 0> on atapci1
ata6: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atapci2: <Intel ICH8 SATA300 controller> port
0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f
irq 10 at device 31.5 on pci0
ata7: <ATA channel 0> on atapci2
ata8: <ATA channel 1> on atapci2
pmtimer0 on isa0
orm0: <ISA Option ROM> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: <Parallel port> 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: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 5L/0101.01> HP ENHANCED PCL5,PJL
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <INT0800> 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 <Optiarc DVD RW AD-7173A/1-01> at ata4-master PIO4
ad10: 157066MB <ExcelStor Technology J8160S P22OA50U> at ata5-master SATA150
ad12: 238475MB <Seagate ST3250620AS 3.AAE> at ata6-master SATA150
pcm0: <HDA Codec: Analog Devices AD1988>
pcm0: <HDA Driver Revision: 20070420_0044>
cd0 at ata4 bus 0 target 0 lun 0
cd0: <Optiarc DVD RW AD-7173A 1-01> 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
-
Re: problems with DMA
Einherjar wrote:
[color=blue]
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
> [email]root@dessler.cse.buffalo.edu[/email]:/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
>
>[/color]
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>[color=blue]
> Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>,<b15>>
> AMD Features=0x20100000<NX,LM>
> AMD Features2=0x1<LAHF>
> Cores per package: 2[/color]
[SNIP][color=blue]
> atapci0: <JMicron JMB363 SATA300 controller> 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: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> ata4: <ATA channel 2> on atapci0[/color]
[SNIP][color=blue]
> cd0 at ata4 bus 0 target 0 lun 0
> cd0: <Optiarc DVD RW AD-7173A 1-01> 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[/color]
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
-
Re: problems with DMA
Thierry Herbelot wrote:[color=blue]
> Einherjar wrote:
>[color=green]
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
>> [email]root@dessler.cse.buffalo.edu[/email]:/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
>>
>>[/color]
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>[color=green]
>> Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>,<b15>>
>> AMD Features=0x20100000<NX,LM>
>> AMD Features2=0x1<LAHF>
>> Cores per package: 2[/color]
> [SNIP][color=green]
>> atapci0: <JMicron JMB363 SATA300 controller> 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: <ATA channel 0> on atapci0
>> ata3: <ATA channel 1> on atapci0
>> ata4: <ATA channel 2> on atapci0[/color]
> [SNIP][color=green]
>> cd0 at ata4 bus 0 target 0 lun 0
>> cd0: <Optiarc DVD RW AD-7173A 1-01> 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[/color]
>
> 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
>[/color]
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.
-
Re: problems with DMA
On Sat, 17 Nov 2007 11:03:10 +0100, Einherjar <javni-at@at-sweet-sorrow.com> 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
-
Re: problems with DMA
Howard Goldstein wrote:[color=blue]
> On Sat, 17 Nov 2007 11:03:10 +0100, Einherjar <javni-at@at-sweet-sorrow.com> 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[/color]
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.