Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 05:10:46 +0200
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        freebsd current <freebsd-current@FreeBSD.org>
Cc:        =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org>
Subject:   ATA drives no more seen !
Message-ID:  <20040418031046.GA105@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I've updated my cvs tree on April 13, 2004 through cvsup (w/o refuse),
then I build/install a new world and kernel and Oh! surprise, I can't see
my ATA drives anymore. the offending messages are :

FreeBSD 5.2-CURRENT #11: Sat Apr 17 21:48:11 CEST 2004
    root@:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM
...
atapci0: <Intel PIIX WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0
atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
atapci0: rid 0x10 says memory, driver wants 4 failed.
atapci0: rid 0x18 says memory, driver wants 4 failed.

while before, I had (in verbose mode) :

FreeBSD 5.2-CURRENT #1: Sat Jan 31 15:17:05 CET 2004
    root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM
...
atapci0: <Intel PIIX WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=50
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=50 devices=0x3<ATA_SLAVE,ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=50 ostat1=50
ata1-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata1-slave:  stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata1: reset tp2 mask=03 stat0=50 stat1=50 devices=0x3<ATA_SLAVE,ATA_MASTER>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]

the problem also occured w/ a GENERIC kernel.

any idea ?

in attachment :
dmesg-20040131.txt
dmesg-20040417.txt
CUSTOM.txt

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre@laposte.net
Cyrille Lefevre
-- 
mailto:cyrille.lefevre@laposte.net

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg-5.2-20040131.txt"

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.2-CURRENT #1: Sat Jan 31 15:17:05 CET 2004
    root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM
can't re-use a leaf (nsfbufs)!
Preloaded elf kernel "/boot/kernel/kernel" at 0xc074a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc074a154.
Preloaded elf module "/boot/modules/splash_bmp.ko" at 0xc074a1a4.
Preloaded elf module "/boot/modules/vesa.ko" at 0xc074a254.
Preloaded splash_image_data "/boot/splash/daemon_640.bmp" at 0xc074a300.
Preloaded elf module "/boot/modules/apm.ko" at 0xc074a358.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (198.95-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (128 MB)
avail memory = 125882368 (120 MB)
Intel Pentium detected, installing workaround for F00F bug
VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc06f6302 (1000022)
VESA: Matrox Graphics Inc.
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <network, ethernet> at device 13.0 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xf800-0xf8ff mem 0xffbea000-0xffbeafff irq 11 at device 15.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 2944 Ultra SCSI adapter> port 0xfc00-0xfcff mem 0xffbeb000-0xffbebfff irq 9 at device 16.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
orm0: <Option ROMs> at iomem 0xed000-0xedfff,0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x20010 on isa0
sio0: type ST16650A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x20000 on isa0
sio1: type ST16650A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
ppc1: parallel port not found.
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
IP packet filtering version 2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited
IPsec: Initialized Security Association Processing.
ad0: 9543MB <Maxtor 91000D8> [19390/16/63] at ata0-master BIOSPIO
ad1: 39082MB <Maxtor 54098U8> [79406/16/63] at ata0-slave BIOSPIO
ad2: 9543MB <Maxtor 91000D8> [19390/16/63] at ata1-master BIOSPIO
ad3: 19531MB <Maxtor 92048D8> [39683/16/63] at ata1-slave BIOSPIO
Waiting 5 seconds for SCSI devices to settle
WARNING: Expected rawoffset 6506325, found 13012713
da0 at ahc1 bus 0 target 0 lun 0
da0: <HP C3325W HP08> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C)
da1 at ahc1 bus 0 target 8 lun 0
da1: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
da2 at ahc1 bus 0 target 9 lun 0
da2: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from ufs:/dev/da0s1a
WARNING: /disk1 was not properly dismounted
WARNING: /disk3 was not properly dismounted
xl0: <3Com 3c905B-COMBO Fast Etherlink XL> port 0xf480-0xf4ff mem 0xffbe9c00-0xffbe9c7f irq 11 at device 13.0 on pci0
xl0: Ethernet address: 00:01:02:e0:2d:61
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Accounting enabled

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg-5.2-20040417.txt"

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.2-CURRENT #11: Sat Apr 17 21:48:11 CEST 2004
    root@:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM
can't re-use a leaf (nsfbufs)!
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0875000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc0875154.
Preloaded elf module "/boot/modules/splash_bmp.ko" at 0xc08751a4.
Preloaded elf module "/boot/modules/vesa.ko" at 0xc0875254.
Preloaded splash_image_data "/boot/splash/daemon_640.bmp" at 0xc0875300.
Preloaded elf module "/boot/modules/apm.ko" at 0xc0875358.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (198.95-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (128 MB)
avail memory = 121761792 (116 MB)
Intel Pentium detected, installing workaround for F00F bug
random: <entropy source, Software, Yarrow>
VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc0821302 (1000022)
VESA: Matrox Graphics Inc.
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0
atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
atapci0: rid 0x10 says memory, driver wants 4 failed.
atapci0: rid 0x18 says memory, driver wants 4 failed.
pci0: <network, ethernet> at device 13.0 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xf800-0xf8ff mem 0xffbea000-0xffbeafff irq 11 at device 15.0 on pci0
ahc0: Bus reserved 0x1000 bytes for rid 0x14 type 3 at 0xffbea000
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 2944 Ultra SCSI adapter> port 0xfc00-0xfcff mem 0xffbeb000-0xffbebfff irq 9 at device 16.0 on pci0
ahc1: Bus reserved 0x1000 bytes for rid 0x14 type 3 at 0xffbeb000
ahc1: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
orm0: <Option ROMs> at iomem 0xed000-0xedfff,0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <8 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x20030 on isa0
sio0: type ST16650A, console
sio1 at port 0x2f8-0x2ff irq 3 flags 0x20000 on isa0
sio1: type ST16650A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
ppc1: parallel port not found.
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
Waiting 5 seconds for SCSI devices to settle
da0 at ahc1 bus 0 target 0 lun 0
da0: <HP C3325W HP08> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C)
da1 at ahc1 bus 0 target 8 lun 0
da1: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
da2 at ahc1 bus 0 target 9 lun 0
da2: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from ufs:/dev/da0s1a
IP packet filtering version 2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
pci0: driver added
pci0:13:0: reprobing on driver added
xl0: <3Com 3c905B-COMBO Fast Etherlink XL> port 0xf480-0xf4ff mem 0xffbe9c00-0xffbe9c7f irq 11 at device 13.0 on pci0
xl0: Bus reserved 0x80 bytes for rid 0x14 type 3 at 0xffbe9c00
xl0: Ethernet address: 00:01:02:e0:2d:61
xl0: [GIANT-LOCKED]
pci0:14:0: reprobing on driver added
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Accounting enabled

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="CUSTOM.txt"

machine		i386
cpu		I586_CPU		# aka Pentium
ident		CUSTOM
options 	CPU_SUSP_HLT
options 	INCLUDE_CONFIG_FILE
options		SCHED_ULE
options 	COMPAT_43
options 	COMPAT_FREEBSD4
options 	SYSVSHM
options 	SYSVSEM
options 	SYSVMSG
options 	COMPAT_AOUT		# mod: aout req: gzip
options 	P1003_1B_SEMAPHORES
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	DDB
options 	KTRACE
options		SW_WATCHDOG
options 	INET
options 	INET6
options 	IPSEC
options 	IPSEC_ESP
options 	IPDIVERT
options		PFIL_HOOKS		# req: pf
options 	IPSTEALTH
options 	RANDOM_IP_ID		# req: pf
options 	TCP_DROP_SYNFIN
options 	FFS
options 	SOFTUPDATES
options 	UFS_DIRHASH
options 	MSGBUF_SIZE=65536
options 	SHOW_BUSYBUFS
device		isa
device		pmtimer
device		atkbdc
device		atkbd	# flags 0x1
options 	KBD_INSTALL_CDEV
device		vga
device		sc	# flags 0x100
options 	MAXCONS=8
options 	SC_CUT_SPACES2TABS
options 	SC_HISTORY_SIZE=250
device		sio
device		fdc			# mod: fdc
device		ppc			# req: ppbus
device		ppbus			# mod: ppbus dep: ppc req: lpt
device		lpt			# mod: lpt dep: ppc ppbus
device		psm
device		npx	# flags 0x0 iosiz 0x0
device		pci
device		ahc			# mod: ahc
options 	AHC_ALLOW_MEMIO
options 	AHC_REG_PRETTY_PRINT
device		sym			# mod: sym
device		ata
device		scbus
options 	CAMDEBUG
options 	SCSI_DELAY=5000
options 	SES_ENABLE_PASSTHROUGH
device		cd
device		da
device		pass
device		pt
device		sa
options 	ATA_STATIC_ID
device		atadisk
device		ataraid
device		atapicd
device		atapicam
device	bpf
device	ether
device	loop
device	gzip			# dep: aout
device	pty
device	random			# mod: random
device	speaker			# mod: speaker
device	splash			# req: splash_* *_saver

--Qxx1br4bt0+wmkIi--



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