Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 13:08:32 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Christian Brueffer <chris@unixpages.org>
Cc:        =?ISO-8859-1?Q?S=F8ren?= Schmidt <sos@DeepCore.dk>
Subject:   Re: cvs commit: src/sys/dev/ata ata-queue.c
Message-ID:  <20050512130832.4e0922e9@dolphin.local.net>
In-Reply-To: <20050512074839.GB1074@unixpages.org>
References:  <200505111436.j4BEaQWP077515@repoman.freebsd.org> <20050511145558.7e030a62@dolphin.local.net> <42828A49.8000008@DeepCore.dk> <20050512070844.GA1074@unixpages.org> <428301A4.5050100@DeepCore.dk> <20050512074839.GB1074@unixpages.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, 12 May 2005 09:48:39 +0200, Christian Brueffer
<chris@unixpages.org> wrote:

> On Thu, May 12, 2005 at 09:11:32AM +0200, S�ren Schmidt wrote:
> > Christian Brueffer wrote:
> > 
> > >>Hmm, get me the exact config fx the dmesg from it boot verbosely
> > >on a  >working kernel, I need to be abel to reproduce to fix
> > >this... >
> > >Here are verbose bootups from an IBM T41p:
> > >
> > >http://people.freebsd.org/~brueffer/verbose-boot.ok
> > >http://people.freebsd.org/~brueffer/verbose-boot.fail
> > 
> > Loose atapicam and let me know if that changes anything..
> > 
> 
> Works fine now, thanks!
> 
> - Christian

I'm still not quite there yet.  The ata1-master device is still not
working, ata1-slave is still being configured as acd0, but the boot at
least proceeds now.

Verbose dmesg.boot attached.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"

[-- Attachment #2 --]
Copyright (c) 1992-2005 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 6.0-CURRENT #0: Thu May 12 12:06:24 CDT 2005
    conrads@dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM
WARNING: debug.mpsafenet forced to 0 as aio requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff805ef000.
Calibrating clock(s) ... i8254 clock: 1193197 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1995009297 Hz
CPU: AMD Athlon(tm) 64 Processor 3200+ (1995.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf4a  Stepping = 10
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 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 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 536608768 (511 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x00000000006ec000 - 0x000000001f089fff, 513400832 bytes (125342 pages)
avail memory = 510185472 (486 MB)
mem: <memory>
null: <null device, zero device>
nfslock: pseudo-device
random: <entropy source, Software, Yarrow>
io: <I/O>
cpu0 on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80015004
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=00d110de)
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: physical bus=0
found->	vendor=0x10de, dev=0x00d1, revid=0xa4
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 3, range 32, base f0000000, size 27, enabled
found->	vendor=0x10de, dev=0x00d0, revid=0xf6
	bus=0, slot=1, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x00a0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x10de, dev=0x00d4, revid=0xa4
	bus=0, slot=1, func=1
	class=0c-05-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D3  current D0
	map[20]: type 4, range 32, base 00005000, size  6, enabled
	map[24]: type 4, range 32, base 00005040, size  6, enabled
found->	vendor=0x10de, dev=0x00d7, revid=0xa5
	bus=0, slot=2, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
	intpin=a, irq=3
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base febfb000, size 12, enabled
found->	vendor=0x10de, dev=0x00d7, revid=0xa5
	bus=0, slot=2, func=1
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
	intpin=b, irq=5
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base febfc000, size 12, enabled
found->	vendor=0x10de, dev=0x00d8, revid=0xa2
	bus=0, slot=2, func=2
	class=0c-03-20, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
	intpin=c, irq=10
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base febfdc00, size  8, enabled
found->	vendor=0x10de, dev=0x00d5, revid=0xa5
	bus=0, slot=8, func=0
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x00b0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
	powerspec 2  supports D0 D3  current D0
	map[20]: type 4, range 32, base 0000ffa0, size  4, enabled
found->	vendor=0x10de, dev=0x00dd, revid=0xa2
	bus=0, slot=10, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns)
found->	vendor=0x10de, dev=0x00d2, revid=0xa4
	bus=0, slot=11, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0107, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x10 (480 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1100, revid=0x00
	bus=0, slot=24, func=0
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1101, revid=0x00
	bus=0, slot=24, func=1
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1102, revid=0x00
	bus=0, slot=24, func=2
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1103, revid=0x00
	bus=0, slot=24, func=3
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pci0:1:1: Transition from D0 to D3
pci0: <serial bus, USB> at device 2.0 (no driver attached)
pci0:2:0: Transition from D0 to D3
pci0: <serial bus, USB> at device 2.1 (no driver attached)
pci0:2:1: Transition from D0 to D3
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0:2:2: Transition from D0 to D3
atapci0: <nVidia nForce3 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: <ATA 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: stat0=0x90 err=0x90 lsb=0x90 msb=0x90
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: [MPSAFE]
ata1: <ATA 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=50
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=10 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ata1: [MPSAFE]
pcib1: <PCI-PCI bridge> at device 10.0 on pci0
pcib1:   secondary bus     2
pcib1:   subordinate bus   2
pcib1:   I/O decode        0xe000-0xefff
pcib1:   memory decode     0xfe600000-0xfeafffff
pcib1:   prefetched decode 0xfff00000-0xfffff
pci2: <PCI bus> on pcib1
pci2: physical bus=2
found->	vendor=0x1274, dev=0x1371, revid=0x08
	bus=2, slot=3, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0105, statreg=0x0410, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x0c (3000 ns), maxlat=0x80 (32000 ns)
	intpin=a, irq=3
	powerspec 1  supports D0 D2 D3  current D0
	map[10]: type 4, range 32, base 0000ee80, size  6, enabled
pcib1: (null) requested I/O range 0xee80-0xeebf: in range
found->	vendor=0x8086, dev=0x1229, revid=0x08
	bus=2, slot=4, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
	intpin=a, irq=5
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base feafe000, size 12, enabled
pcib1: (null) requested memory range 0xfeafe000-0xfeafefff: good
	map[14]: type 4, range 32, base 0000ef00, size  6, enabled
pcib1: (null) requested I/O range 0xef00-0xef3f: in range
	map[18]: type 1, range 32, base fe900000, size 20, enabled
pcib1: (null) requested memory range 0xfe900000-0xfe9fffff: good
found->	vendor=0x11c1, dev=0x048c, revid=0x03
	bus=2, slot=5, func=0
	class=07-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0xfc (63000 ns), maxlat=0x0e (3500 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D2 D3  current D0
	map[10]: type 1, range 32, base feaff400, size  8, enabled
pcib1: (null) requested memory range 0xfeaff400-0xfeaff4ff: good
	map[14]: type 4, range 32, base 0000eff0, size  3, enabled
pcib1: (null) requested I/O range 0xeff0-0xeff7: in range
	map[18]: type 4, range 32, base 0000e800, size  8, enabled
pcib1: (null) requested I/O range 0xe800-0xe8ff: in range
pcm0: <AudioPCI ES1373-8> port 0xee80-0xeebf irq 3 at device 3.0 on pci2
pcm0: Reserved 0x40 bytes for rid 0x10 type 4 at 0xee80
pcm0: <Cirrus Logic CS4297A AC97 Codec (id = 0x43525913)>
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: [GIANT-LOCKED]
pcm0: sndbuf_setmap 7f1000, 1000; 0xffffff00007f1000 -> 7f1000
pcm0: sndbuf_setmap 7ef000, 1000; 0xffffff00007ef000 -> 7ef000
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xef00-0xef3f mem 0xfeafe000-0xfeafefff,0xfe900000-0xfe9fffff irq 5 at device 4.0 on pci2
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfeafe000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1229 8086 000c 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:90:27:65:67:c9
fxp0: [GIANT-LOCKED]
pci2: <simple comms> at device 5.0 (no driver attached)
pci2:5:0: Transition from D0 to D3
pcib2: <PCI-PCI bridge> at device 11.0 on pci0
pcib2:   secondary bus     1
pcib2:   subordinate bus   1
pcib2:   I/O decode        0xf000-0xfff
pcib2:   memory decode     0xfc500000-0xfe5fffff
pcib2:   prefetched decode 0xdc400000-0xec3fffff
pci1: <PCI bus> on pcib2
pci1: physical bus=1
found->	vendor=0x10de, dev=0x0322, revid=0xa1
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x05 (1250 ns), maxlat=0x01 (250 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type 1, range 32, base fd000000, size 24, enabled
pcib2: (null) requested memory range 0xfd000000-0xfdffffff: good
	map[14]: type 3, range 32, base e0000000, size 27, enabled
pcib2: (null) requested memory range 0xe0000000-0xe7ffffff: good
pci1: <display, VGA> at device 0.0 (no driver attached)
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
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 0xcf800-0xd07ff 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 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
atkbd0: [GIANT-LOCKED]
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00000000, flags:00000008, packet size:4
psm0: syncmask:08, syncbits:00
fdc0: ic_type 90 part_id 80
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: ic_type 90 part_id 80
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <12 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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
isa_probe_children: probing PnP devices
Device configuration finished.
procfs registered
linprocfs registered
Timecounter "TSC" frequency 1995009297 Hz quality 800
Timecounters tick every 1.000 msec
splash: image decoder found: star_saver
Linux ELF exec handler installed
lo0: bpf attached
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
ad0: setting PIO4 on nVidia nForce3 chip
ad0: setting UDMA100 on nVidia nForce3 chip
ad0: 190782MB <Seagate ST3200822A 3.01> at ata0-master UDMA100
ad0: 390721968 sectors [387621C/16H/63S] 16 sectors/interrupt 1 depth queue
ata1-slave: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire
unknown: timeout waiting for read DRQGEOM: new disk ad0
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=88 ostat1=50
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=10 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ata1: reinit done ..
acd0: setting PIO4 on nVidia nForce3 chip
acd0: setting UDMA33 on nVidia nForce3 chip
acd0: <ASUS CD-S480/AH/0.87> CDROM drive at ata1 as slave
acd0: read 8250KB/s (8250KB/s), 128KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Trying to mount root from ufs:/dev/ad0s1a
start_init: trying /sbin/init
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 65535
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 65535

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