Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 02:10:05 -0800 (PST)
From:      Ken Lui <klui@cup.hp.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/24368: Not having ATA_ENABLE_ATAPI_DMA still has DMA enabled in the kernel
Message-ID:  <200101161010.f0GAA5C24585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/24368; it has been noted by GNATS.

From: Ken Lui <klui@cup.hp.com>
To: Soren Schmidt <sos@freebsd.dk>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/24368: Not having ATA_ENABLE_ATAPI_DMA still has DMA enabled
 in the kernel
Date: Tue, 16 Jan 2001 02:02:08 -0800 (PST)

 On Tue, 16 Jan 2001, Soren Schmidt wrote:
 > Could you mail me the dmesg output from a verbose boot, and the
 > output from a pciconf -l please ?
 
 Oops, I just realized the dmesg output from a verbose boot is
 not the same as a normal dmesg. Here's the output from a boot -v.
 
 
 Ken
 
 
 Copyright (c) 1992-2000 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.2-RELEASE #0: Mon Jan 15 22:24:24 PST 2001
     root@blck:/usr/src/sys/compile/A7V
 Calibrating clock(s) ... TSC clock: 807163548 Hz, i8254 clock: 1193146 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 Timecounter "TSC"  frequency 807193540 Hz
 CPU: AMD Duron(tm) Processor (807.19-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x631  Stepping = 1
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
   AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
 Data TLB: 24 entries, fully associative
 Instruction TLB: 16 entries, fully associative
 L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
 L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
 L2 internal cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
 real memory  = 134135808 (130992K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x00338000 - 0x07fe3fff, 130727936 bytes (31916 pages)
 avail memory = 127459328 (124472K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f92a0
 bios32: Entry = 0xf0f50 (c00f0f50)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x1150
 pnpbios: Found PnP BIOS data at 0xc00fc2b0
 pnpbios: Entry = f0000:c2e0  Rev = 1.0
 pnpbios: OEM ID cd041
 Other BIOS signatures found:
 ACPI: 000f67c0
 Preloaded elf kernel "kernel" at 0xc031f000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc031f0a8.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000060
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
 pcib-: pcib0 exists, using next available unit number
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x1106, dev=0x0305, revid=0x02
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base e4000000, size 26
 found->	vendor=0x1106, dev=0x8305, revid=0x00
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x1106, dev=0x0686, revid=0x22
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x1106, dev=0x0571, revid=0x10
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 0000d800, size  4
 found->	vendor=0x1106, dev=0x3038, revid=0x10
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=5
 	map[20]: type 1, range 32, base 0000d400, size  5
 found->	vendor=0x1106, dev=0x3038, revid=0x10
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=5
 	map[20]: type 1, range 32, base 0000d000, size  5
 found->	vendor=0x1106, dev=0x3057, revid=0x30
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x102b, dev=0x0519, revid=0x01
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base e2800000, size 14
 	map[14]: type 1, range 32, base e3800000, size 23
 found->	vendor=0x10ec, dev=0x8029, revid=0x00
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=5
 	map[10]: type 1, range 32, base 0000a400, size  5
 found->	vendor=0x105a, dev=0x0d30, revid=0x02
 	class=01-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=10
 	map[10]: type 1, range 32, base 0000a000, size  3
 	map[14]: type 1, range 32, base 00009800, size  2
 	map[18]: type 1, range 32, base 00009400, size  3
 	map[1c]: type 1, range 32, base 00009000, size  2
 	map[20]: type 1, range 32, base 00008800, size  6
 	map[24]: type 1, range 32, base e2000000, size 17
 pci0: <PCI bus> on pcib0
 pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on pci0
 pci1: <PCI bus> on pcib2
 isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=00 b=00
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=01
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=01 status0=50 status1=ff
 ata1: mask=01 ostat0=50 ostat2=ff
 ata1-master: ATAPI probe a=14 b=eb
 ata1: mask=01 status0=00 status1=ff
 ata1: devices=04
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 4.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 5 at device 4.3 on pci0
 	using shared irq5.
 usb1: <VIA 83C572 USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
 uhub2: 4 ports with 4 removable, self powered
 pci0: <Matrox MGA Millennium 2064W graphics accelerator> (vendor=0x102b, dev=0x0519) at 12.0 irq 11
 ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xa400-0xa41f irq 5 at device 13.0 on pci0
 bpf: ed0 attached
 ed0: address 00:80:c8:fd:90:ae, type NE2000 (16 bit) 
 atapci1: <Promise ATA100 controller> port 0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xe2000000-0xe201ffff irq 10 at device 17.0 on pci0
 ata-: ata2 exists, using next available unit number
 ata2: iobase=0xa000 altiobase=0x9802 bmaddr=0x8800
 ata2: mask=00 status0=ff status1=ff
 ata2: probe allocation failed
 ata3: iobase=0x9400 altiobase=0x9002 bmaddr=0x8808
 ata3: mask=00 status0=ff status1=ff
 ata3: probe allocation failed
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
 pci-: pci1 exists, using next available unit number
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 ed-: ed0 exists, using next available unit number
 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
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 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
 ata4 failed to probe at port 0x1f0 irq 14 on isa0
 ata5 failed to probe at port 0x170 irq 15 on isa0
 adv0 failed to probe at port 0x330 on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0x41ab (2)
 kbdc: RESET_KBD return code:00fa
 kbdc: RESET_KBD status:00aa
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fa
 kbdc: RESET_AUX status:00aa
 kbdc: RESET_AUX ID:0000
 psm: status 00 02 64
 psm: status 00 00 64
 psm: status 00 03 64
 psm: status 00 03 64
 psm: data 08 00 00
 psm: status 10 00 64
 psm: status 00 02 64
 psm: data 08 00 00
 psm: status 00 02 64
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
 psm0: config:00000000, flags:00000000, packet size:3
 psm0: syncmask:c0, syncbits:00
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 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
 VGA parameters upon power-up
 50 18 10 00 00 00 03 00 02 67 60 4f 50 83 55 81 
 bf 1f 00 4f 0d 0e 00 00 07 80 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 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 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 10 00 03 00 02 67 60 4f 50 83 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 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 sio0: irq maps: 0x1 0x11 0x1 0x1
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x1 0x9 0x1 0x1
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 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/8 bytes threshold
 ed1 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 Linux-ELF exec handler installed
 ata0-master: success setting UDMA4 on VIA chip
 Creating DISK ad0
 Creating DISK wd0
 ad0: <QUANTUM FIREBALLP LM20.5/A35.0700> ATA-5 disk at ata0-master
 ad0: 19595MB (40132503 sectors), 39813 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA66
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
 ad0: 19595MB <QUANTUM FIREBALLP LM20.5> [39813/16/63] at ata0-master UDMA66
 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
 ata1-master: success setting WDMA2 on VIA chip
 acd0: <SAMSUNG DVD-ROM SD-604/FS17> DVD-ROM drive at ata1 as master
 acd0: read 687KB/s (5500KB/s), 512KB buffer, WDMA2
 acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Mounting root from ufs:/dev/ad0s2a
 ad0s1: type 0xb, start 63, end = 16064999, size 16064937 : OK
 ad0s2: type 0xa5, start 16065000, end = 40130369, size 24065370 : OK
 start_init: trying /sbin/init
 splash: image decoder found: blank_saver
 
 
 
 pciconf -l
 su> pciconf -l
 chip0@pci0:0:0: class=0x060000 card=0x80331043 chip=0x03051106 rev=0x02 hdr=0x00
 pcib2@pci0:1:0: class=0x060400 card=0x00000080 chip=0x83051106 rev=0x00 hdr=0x01
 isab0@pci0:4:0: class=0x060100 card=0x80331043 chip=0x06861106 rev=0x22 hdr=0x00
 atapci0@pci0:4:1:       class=0x01018a card=0x00000000 chip=0x05711106 rev=0x10 hdr=0x00
 uhci0@pci0:4:2: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10 hdr=0x00
 uhci1@pci0:4:3: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10 hdr=0x00
 chip1@pci0:4:4: class=0x060000 card=0x80331043 chip=0x30571106 rev=0x30 hdr=0x00
 none0@pci0:12:0:        class=0x030000 card=0x00000000 chip=0x0519102b rev=0x01 hdr=0x00
 ed0@pci0:13:0:  class=0x020000 card=0x802910ec chip=0x802910ec rev=0x00 hdr=0x00
 atapci1@pci0:17:0:      class=0x018000 card=0x4d33105a chip=0x0d30105a rev=0x02 hdr=0x00
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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