Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 10:49:39 -0500
From:      Glenn Johnson <gjohnson@nola.srrc.usda.gov>
To:        Greg Lehey <grog@lemis.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: IDE DMA timeouts (was: Kernel won't boot from IDE disk)
Message-ID:  <19990430104939.A89475@symbion.srrc.usda.gov>
In-Reply-To: <19990430140500.E80561@freebie.lemis.com>; from Greg Lehey on Fri, Apr 30, 1999 at 02:05:00PM %2B0930
References:  <19990429101043.A7734@symbion.srrc.usda.gov> <19990430140500.E80561@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 30, 1999 at 02:05:00PM +0930, Greg Lehey wrote:
> On Thursday, 29 April 1999 at 10:10:43 -0500, Glenn Johnson wrote:
> > I am doing a fresh installation. I installed the April 23, 1999 snapshot
> > of STABLE and then cvsupped the CURRENT source (4.0 CURRENT). I did a
> > 'make world' and that went fine. I copied the GENERIC kernel config to
> > a new file and edited the copied file. I deleted whatever drivers I did
> > not need. I also deleted, perhaps mistakenly, but out of habit, the
> > line:
> >
> > 	"options		FAILSAFE"
> 
> I don't think this is your problem.
> 
> > I set the flags to wdc0 and wdc1 to 'a0ffa0ff'
> 
> This might be.
> 
> > I then added the following:
> >
> > 	options		SOFTUPDATES
> > 	options		P1003_1B
> > 	options		_KPOSIX_PRIORITY_SCHEDULING
> > 	options		_KPOSIX_VERSION=199309L
> > 	options		CPU_WT_ALLOC
> >
> > 	controller      snd0
> > 	device sb0      at isa? port 0x220 irq 5 drq 1
> > 	device sbxvi0   at isa? drq 5
> > 	device sbmidi0  at isa? port 0x330
> > 	device opl0     at isa? port 0x388
> >
> > Upon reboot, the system would hang after doing all of the probes. Below is some
> > of the output that I got from a boot -v. I wrote this down on paper, so the
> > formatting may be a little off.
> >
> > 	isa_compat: didn't get drq for wdc1
> > ...
> > 	changing root device to wd0s1a
> >
> > At this point it hangs. But if I press a key on the keyboard I then get:
> > 	wd0s1: type 0xa5, start 0, end = 3173183, size 3173184
> > 	wd0s1: C/H/S end 197/132/63 (1659041) != end 3173183: invalid
> > 	start_init: trying /sbin/init
> > 	wd0: interrupt timeout (status 50<rdy, seekdone > error 0)
> > 	wd0: wdtimeout() DMA status 4
> >
> > This last two lines above are repeated 5x, then I get:
> >
> > 	wd0: Last time I say: interrupt timeout. Probably a portable PC.
> >
> > It is a desktop PC. I am not at the system now, so the following is from
> > memory.  It is an AMI BIOS, a Western Digital 1.6 GB IDE drive on the
> > primary IDE and a Mitsumi 4x CD-ROM drive on the secondary IDE.
> 
> What's your chipset?  If it's an SiS 5591, I'd be interested in seeing
> your complete dmesg output (preferably with a -v output).  You'll also
> be able to get it to work by changing the wdc0 flags to eliminate DMA.
> 
> Greg
> --
> See complete headers for address, home page and phone numbers
> finger grog@lemis.com for PGP public key

The IDE controller chip is an Intel PIIX3 Bus Master IDE controller. I
did turn off all flags, via boot -c, then deleting the flags. That did
not help.

I have reinstalled 3.1 so the dmesg output below is from that. Not
all of the messages from boot -v are there but I hope the relevant
information is.  Isn't there a way to expand the message buffer size via
a kernel config option?

Thanks.

dmesg output from 3.1 which works:
 
disabled, B: IRQ12, C: IRQ9, D: disabled
		MB0: IRQ15, MB1: 
found->	vendor=0x8086, dev=0x7010, revid=0x00
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[0]: type 4, range 32, base 0000ffa0, size  4
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 0 status: 04 from port: 0000ffa2
intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 3
intel_piix_status: secondary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 3
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000ffaa
found->	vendor=0x1013, dev=0x00d0, revid=0x01
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[0]: type 1, range 32, base ffafc000, size 14
	map[1]: type 1, range 32, base fc000000, size 25
vga0: <Cirrus Logic GD5462 SVGA controller> rev 0x01 on pci0.8.0
found->	vendor=0x1011, dev=0x0014, revid=0x21
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[0]: type 4, range 32, base 00007880, size  7
	map[1]: type 1, range 32, base ffafbe80, size  7
de0: <Digital 21041 Ethernet> rev 0x21 int a irq 12 on pci0.9.0
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:c0:f0:37:d0:2d
found->	vendor=0x10cd, dev=0x1300, revid=0x03
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[0]: type 4, range 32, base 00007c00, size  8
	map[1]: type 1, range 32, base ffafbf00, size  8
adv0: <AdvanSys ASC3050 Ultra SCSI controller> rev 0x03 int a irq 9 on pci0.10.0
adv0: AdvanSys Ultra SCSI Host Adapter, SCSI ID 7, queue depth 16
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x10000, flags:0x3d0000
psm0: disabled, not probed.
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: irq maps: 0x1 0x801 0x1 0x1
sio2 at 0x3e8-0x3ef irq 11 on isa
sio2: type 16550A
sio3: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ff on isa
intel_piix_dmainit: setting multiword DMA mode 2
wd0: wdsetmode() setting transfer mode to 22
intel_piix_status: primary master sample = 3, master recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
wdc0: unit 0 (wd0): <WDC AC21600H>, DMA, 32-bit, multi-block-16
wd0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000
wdc1 at 0x170-0x177 irq 15 flags 0xa0ff on isa
wdc1: unit 0 (atapi): <FX400_02/B03>, removable, intr, iordis
acd0: drive speed 689KB/sec, 256KB cache
acd0: supported read types:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked
ppc: parallel port found at 0x378
ppc0: ECP SPP SPP
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip: irq 7
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xf00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 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 5f 4f 50 82 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 5f 4f 50 82 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 
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.13> 
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.13> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
imasks: bio c008c040, tty c007189a, net c007189a
BIOS Geometries:
 0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
new masks: bio c008c040, tty c007189a, net c007189a
Waiting 2 seconds for SCSI devices to settle
(probe2:adv0:0:2:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe2:adv0:0:2:0): ILLEGAL REQUEST asc:24,0
(probe2:adv0:0:2:0): Invalid field in CDB
pass0 at adv0 bus 0 target 0 lun 0
pass0: <MICROP 4743 S150> Fixed Direct Access SCSI-2 device 
pass0: Serial Number U800HS4
pass0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
pass1 at adv0 bus 0 target 2 lun 0
pass1: <SyQuest EZ135S 1-17> Removable Direct Access SCSI-2 device 
pass1: 5.000MB/s transfers (5.000MHz, offset 15)
da1 at adv0 bus 0 target 2 lun 0
da1: <SyQuest EZ135S 1-17> Removable Direct Access SCSI-2 device 
da1: 5.000MB/s transfers (5.000MHz, offset 15)
da1: 128MB (262144 512 byte sectors: 64H 32S/T 128C)
da0 at adv0 bus 0 target 0 lun 0
da0: <MICROP 4743 S150> Fixed Direct Access SCSI-2 device 
da0: Serial Number U800HS4
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 4100MB (8398600 512 byte sectors: 255H 63S/T 522C)
Considering MFS root f/s.
No MFS image available as root f/s.
Considering FFS root f/s.
changing root device to wd0s1a
wd0s1: type 0xa5, start 0, end = 3173183, size 3173184 
wd0s1: C/H/S end 197/132/63 (1659041) != end 3173183: invalid
vinum: loaded
da0s1: type 0xa5, start 0, end = 8398599, size 8398600 
da0s1: C/H/S end 522/201/7 (739521) != end 8398599: invalid
da0s1: type 0xa5, start 0, end = 8398599, size 8398600 
da0s1: C/H/S end 522/201/7 (739521) != end 8398599: invalid
da0s1: type 0xa5, start 0, end = 8398599, size 8398600 
da0s1: C/H/S end 522/201/7 (739521) != end 8398599: invalid
da0s1: type 0xa5, start 0, end = 8398599, size 8398600 
da0s1: C/H/S end 522/201/7 (739521) != end 8398599: invalid
vinum: reading configuration from /dev/da0e
vinum: updating configuration from /dev/wd0e
ffs_mountfs: superblock updated for soft updates
Linux-ELF exec handler installed
splash: image decoder found: green_saver
-- 
Glenn Johnson
Technician
USDA, ARS, SRRC
New Orleans, LA


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




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