Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 13:54:40 +0900 (JST)
From:      Toshikazu ICHINOSEKI <t.ichinoseki@nifty.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/35230: Neomagic sound driver probe and play timeout problem
Message-ID:  <20020223.135440.74753592.t.ichinoseki@nifty.com>

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

>Number:         35230
>Category:       kern
>Synopsis:       Neomagic sound driver probe and play timeout problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 22 22:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Toshikazu Ichinoseki
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD capella 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Feb 23 00:38:24 JST 2002 toshi@capella:/usr/src/sys/compile/CAPELLA i386

Machine: Panasonic Let's note CF-M2EV
		 (Celeron-550MHz, 440BX, 128MB Mem,
		  NeoMagic NM2200 graphics/sound chip (MagicMedia 256AV))
	
>Description:
    The NeoMagic 256AV pcm sound device worked well on 4.3-RELEASE.
	But 4.5-stable does not probe NeoMagic 256AV audio chip since fails
    to detect mixer at nm_pci_probe(). 
	After forcing to skip checking mixer presence code, neomagic sound
    driver becomes to probe 256AV chip. But played music is strange and
    "pcm0: play interrupt timeout, channel dead" message is displayed on
    console when I try to play music using mpg123 or play (part of sox).
	This problem is the same with problem report kern/29465.

>How-To-Repeat:
	4.5-stable fails to probe every time in boot or kldloading
	snd_neomagic kernel module.
	After forcing to probe, channel always is timeout when I play sound.

>Fix:
	I referred to NetBSD's neo.c and made patch to fix this
	problem. Included patch improves followings:

	1. Panasonic CF-M2EV needs resetting soud device before checking
       mixer is present or not.
	2. To synchronize neomagic driver with pcm channel layer, the initial
       value of BUFFER_WMARK register of Play/Record is set with same
       value of channel block size and update them on every interrupt.
	3. Prevent to make noise on suspending while playing.

	This patch can apply 4.5-stable and	5-current and also apply
	4.4-RELEASE and 4.5-RELEASE.

--------------- patch is from here ---------------------------------
Index: neomagic.c
===================================================================
RCS file: /local/cvsroot/src/sys/dev/sound/pci/neomagic.c,v
retrieving revision 1.7.2.9
diff -u -r1.7.2.9 neomagic.c
--- neomagic.c	1 Aug 2001 03:40:58 -0000	1.7.2.9
+++ neomagic.c	18 Feb 2002 14:05:10 -0000
@@ -47,7 +47,8 @@
 
 /* channel registers */
 struct sc_chinfo {
-	int spd, dir, fmt;
+	int active, spd, dir, fmt;
+	u_int32_t blksize, wmark;
 	struct snd_dbuf *buffer;
 	struct pcm_channel *channel;
 	struct sc_info *parent;
@@ -203,14 +204,17 @@
 nm_waitcd(struct sc_info *sc)
 {
 	int cnt = 10;
+	int fail = 1;
 
 	while (cnt-- > 0) {
 		if (nm_rd(sc, sc->ac97_status, 2) & sc->ac97_busy)
 			DELAY(100);
-		else
+		else {
+			fail = 0;
 			break;
+		}
 	}
-	return (nm_rd(sc, sc->ac97_status, 2) & sc->ac97_busy);
+	return (fail);
 }
 
 static u_int32_t
@@ -338,6 +342,9 @@
 
 	chnbuf = (dir == PCMDIR_PLAY)? sc->pbuf : sc->rbuf;
 	ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch;
+	ch->active = 0;
+	ch->blksize = 0;
+	ch->wmark = 0;
 	ch->buffer = b;
 	sndbuf_setup(ch->buffer, (u_int8_t *)rman_get_virtual(sc->buf) + chnbuf, NM_BUFFSIZE);
 	if (bootverbose)
@@ -376,6 +383,10 @@
 static int
 nmchan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)
 {
+	struct sc_chinfo *ch = data;
+
+	ch->blksize = blocksize;
+
 	return blocksize;
 }
 
@@ -395,26 +406,32 @@
 
 	if (ch->dir == PCMDIR_PLAY) {
 		if (go == PCMTRIG_START) {
+			ch->active = 1;
+			ch->wmark = ch->blksize;
 			nm_wr(sc, NM_PBUFFER_START, sc->pbuf, 4);
 			nm_wr(sc, NM_PBUFFER_END, sc->pbuf + NM_BUFFSIZE - ssz, 4);
 			nm_wr(sc, NM_PBUFFER_CURRP, sc->pbuf, 4);
-			nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + NM_BUFFSIZE / 2, 4);
+			nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + ch->wmark, 4);
 			nm_wr(sc, NM_PLAYBACK_ENABLE_REG, NM_PLAYBACK_FREERUN |
 				NM_PLAYBACK_ENABLE_FLAG, 1);
 			nm_wr(sc, NM_AUDIO_MUTE_REG, 0, 2);
 		} else {
+			ch->active = 0;
 			nm_wr(sc, NM_PLAYBACK_ENABLE_REG, 0, 1);
 			nm_wr(sc, NM_AUDIO_MUTE_REG, NM_AUDIO_MUTE_BOTH, 2);
 		}
 	} else {
 		if (go == PCMTRIG_START) {
+			ch->active = 1;
+			ch->wmark = ch->blksize;
 			nm_wr(sc, NM_RECORD_ENABLE_REG, NM_RECORD_FREERUN |
 				NM_RECORD_ENABLE_FLAG, 1);
 			nm_wr(sc, NM_RBUFFER_START, sc->rbuf, 4);
 			nm_wr(sc, NM_RBUFFER_END, sc->rbuf + NM_BUFFSIZE, 4);
 			nm_wr(sc, NM_RBUFFER_CURRP, sc->rbuf, 4);
-			nm_wr(sc, NM_RBUFFER_WMARK, sc->rbuf + NM_BUFFSIZE / 2, 4);
+			nm_wr(sc, NM_RBUFFER_WMARK, sc->rbuf + ch->wmark, 4);
 		} else {
+			ch->active = 0;
 			nm_wr(sc, NM_RECORD_ENABLE_REG, 0, 1);
 		}
 	}
@@ -465,11 +482,19 @@
 
 	if (status & sc->playint) {
 		status &= ~sc->playint;
+		sc->pch.wmark += sc->pch.blksize;
+		sc->pch.wmark %= NM_BUFFSIZE;
+		nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + sc->pch.wmark, 4);
+
 		nm_ackint(sc, sc->playint);
 		chn_intr(sc->pch.channel);
 	}
 	if (status & sc->recint) {
 		status &= ~sc->recint;
+		sc->rch.wmark += sc->rch.blksize;
+		sc->rch.wmark %= NM_BUFFSIZE;
+		nm_wr(sc, NM_RBUFFER_WMARK, sc->rbuf + sc->rch.wmark, 4);
+
 		nm_ackint(sc, sc->recint);
 		chn_intr(sc->rch.channel);
 	}
@@ -590,6 +615,12 @@
 				return ENXIO;
 			}
 
+			/*
+			 * My Panasonic CF-M2EV needs resetting device
+			 * before checking mixer is present or not.
+			 * t.ichinoseki@nifty.com.
+			 */
+			nm_wr(sc, 0, 0x11, 1); /* reset device */
 			if ((nm_rd(sc, NM_MIXER_PRESENCE, 2) &
 				NM_PRESENCE_MASK) != NM_PRESENCE_VALUE) {
 				i = 0;	/* non-ac97 card, but not listed */
@@ -710,6 +741,25 @@
 }
 
 static int
+nm_pci_suspend(device_t dev)
+{
+	struct sc_info *sc;
+
+	sc = pcm_getdevinfo(dev);
+
+	/* stop playing */
+	if (sc->pch.active) {
+		nm_wr(sc, NM_PLAYBACK_ENABLE_REG, 0, 1);
+		nm_wr(sc, NM_AUDIO_MUTE_REG, NM_AUDIO_MUTE_BOTH, 2);
+	}
+	/* stop recording */
+	if (sc->rch.active) {
+		nm_wr(sc, NM_RECORD_ENABLE_REG, 0, 1);
+	}
+	return 0;
+}
+
+static int
 nm_pci_resume(device_t dev)
 {
 	struct sc_info *sc;
@@ -726,6 +776,17 @@
 		device_printf(dev, "unable to reinitialize the mixer\n");
 		return ENXIO;
 	}
+	/* restart playing */
+	if (sc->pch.active) {
+		nm_wr(sc, NM_PLAYBACK_ENABLE_REG, NM_PLAYBACK_FREERUN |
+			  NM_PLAYBACK_ENABLE_FLAG, 1);
+		nm_wr(sc, NM_AUDIO_MUTE_REG, 0, 2);
+	}
+	/* restart recording */
+	if (sc->rch.active) {
+		nm_wr(sc, NM_RECORD_ENABLE_REG, NM_RECORD_FREERUN |
+			  NM_RECORD_ENABLE_FLAG, 1);
+	}
 	return 0;
 }
 
@@ -734,6 +795,7 @@
 	DEVMETHOD(device_probe,		nm_pci_probe),
 	DEVMETHOD(device_attach,	nm_pci_attach),
 	DEVMETHOD(device_detach,	nm_pci_detach),
+	DEVMETHOD(device_suspend,	nm_pci_suspend),
 	DEVMETHOD(device_resume,	nm_pci_resume),
 	{ 0, 0 }
 };
------ to here --------------------------------------------------------

	Following is the dmesg of verbose boot after pached.

Copyright (c) 1992-2002 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.5-STABLE #0: Sat Feb 23 00:38:24 JST 2002
    toshi@capella:/usr/src/sys/compile/CAPELLA
Calibrating clock(s) ... TSC clock: 545941275 Hz, i8254 clock: 1193186 Hz
Timecounter "i8254"  frequency 1193186 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (545.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x0053a000 - 0x07fe5fff, 128630784 bytes (31404 pages)
config> q
avail memory = 125349888 (122412K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f6cf0
bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x13d
pnpbios: Found PnP BIOS data at 0xc00f6d20
pnpbios: Entry = f0000:a5f3  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6cb0
Preloaded elf kernel "kernel" at 0xc0513000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc051309c.
Preloaded elf module "splash_bmp.ko" at 0xc05130ec.
Preloaded elf module "vesa.ko" at 0xc0513190.
Preloaded elf module "vn.ko" at 0xc051322c.
Preloaded elf module "snd_neomagic.ko" at 0xc05132c8.
Preloaded elf module "snd_pcm.ko" at 0xc051336c.
Preloaded elf module "agp.ko" at 0xc051340c.
Preloaded elf module "smbfs.ko" at 0xc05134a8.
Preloaded elf module "libmchain.ko" at 0xc0513548.
Preloaded elf module "libiconv.ko" at 0xc05135ec.
Preloaded elf module "joy.ko" at 0xc051368c.
VESA: information block
56 45 53 41 00 02 20 01 00 01 00 00 00 00 22 00 
00 01 26 00 05 02 00 01 00 01 09 01 00 01 1b 01 
00 01 00 01 01 01 02 01 03 01 04 01 05 01 07 01 
0d 01 0e 01 10 01 11 01 12 01 13 01 14 01 15 01 
VESA: 24 mode(s) found
VESA: v2.0, 2432k memory, flags:0x0, mode table:0xc04b12a2 (1000022)
VESA: MagicMedia 256AV  48K
VESA: NeoMagic MagicMedia 256AV  01.0
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
module_register_init: MOD_LOAD (splash_bmp, c04aa7b8, 0) error 2
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80010014
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
Using $PIR table, 8 entries at 0xc00fdf40
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7190, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base dd800000, size 22
found->	vendor=0x8086, dev=0x7191, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x10f7, dev=0x8317, revid=0x02
	class=07-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base 00001080, size  7
found->	vendor=0x8086, dev=0x7110, revid=0x02
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 00001050, size  4
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=10
	map[20]: type 1, range 32, base 0000fc20, size  5
found->	vendor=0x8086, dev=0x7113, revid=0x03
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 00001040, size  4
found->	vendor=0x134d, dev=0x7890, revid=0x02
	class=07-03-01, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base 00001400, size  6
found->	vendor=0x1180, dev=0x0476, revid=0x80
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=2 	secondarybus=2
	intpin=a, irq=10
found->	vendor=0x1180, dev=0x0476, revid=0x80
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=3 	secondarybus=3
	intpin=b, irq=10
found->	vendor=0x8086, dev=0x1229, revid=0x08
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base dd100000, size 12
	map[14]: type 1, range 32, base 00001440, size  6
	map[18]: type 1, range 32, base dd000000, size 20
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xdd800000-0xddbfffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 4M
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x10c8, dev=0x0005, revid=0x20
	class=03-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base de000000, size 24
	map[14]: type 1, range 32, base dd400000, size 22
	map[18]: type 1, range 32, base dd200000, size 20
found->	vendor=0x10c8, dev=0x8005, revid=0x20
	class=04-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=10
	map[10]: type 1, range 32, base ddc00000, size 22
	map[14]: type 1, range 32, base dd300000, size 20
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> (vendor=0x10c8, dev=0x0005) at 0.0 irq 10
pcm0: <NeoMagic 256AV> mem 0xdd300000-0xdd3fffff,0xddc00000-0xddffffff irq 10 at device 0.1 on pci1
pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm0: ac97 primary codec extended features AMAP
pcm0: rec buf 0xc8583800
pcm0: play buf 0xc857f800
pci0: <unknown card> (vendor=0x10f7, dev=0x8317) at 4.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1050
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=0x1058
ata1: mask=03 status0=50 status1=01
ata1: mask=03 ostat0=50 ostat2=01
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=ff b=ff
ata1: mask=03 status0=00 status1=01
ata1-slave: ATA probe a=00 b=ff
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfc20-0xfc3f irq 10 at device 7.2 on pci0
	using shared irq10.
usb0: <Intel 82371AB/EB (PIIX4) 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
chip0: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
pci0: <unknown card> (vendor=0x134d, dev=0x7890) at 9.0 irq 9
pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: PCI Configuration space:
  0x00: 0x04761180 0x02100007 0x06070080 0x00824000 
  0x10: 0x44000000 0x020000dc 0x40020200 0x00000000 
  0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x30: 0x00000000 0x00000000 0x00000000 0x07a0010a 
  0x40: 0x832e10f7 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x00000001 0x00000000 0x04630463 0x00000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00020000 0x00000000 0x00000000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x832e10f7 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0xfe190001 
  0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: PCI Configuration space:
  0x00: 0x04761180 0x02100007 0x06070080 0x00824000 
  0x10: 0x44001000 0x020000dc 0x40030300 0x00000000 
  0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x30: 0x00000000 0x00000000 0x00000000 0x07a0020a 
  0x40: 0x832e10f7 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x00000001 0x00000000 0x04630463 0x00000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00020000 0x00000000 0x00000000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x832e10f7 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0xfe190001 
  0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pccard1: <PC Card bus (classic)> on pcic1
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1440-0x147f mem 0xdd000000-0xdd0fffff,0xdd100000-0xdd100fff irq 9 at device 11.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:80:45:12:50:b3
fxp0: PCI IDs: 8086 1229 10f7 832e 0008
fxp0: Dynamic Standby mode is disabled
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: fxp0 attached
pcic-: pcic0 exists, using next available unit number
pcic-: pcic1 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
ex_isa_identify()
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
aic0: not probed (disabled)
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)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, 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:0x700ff
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 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 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic2 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic3: not probed (disabled)
sio0: irq maps: 0x401 0x411 0x401 0x401
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: irq maps: 0x401 0x401 0x401 0x401
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
isa_probe_children: probing PnP devices
pcic0: Event mask 0xf
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: faith0 attached
ata0-master: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <TOSHIBA MK1016GAP/U1.12 A> ATA-5 disk at ata0-master
ad0: 9590MB (19640880 sectors), 19485 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ad0: 9590MB <TOSHIBA MK1016GAP> [19485/16/63] at ata0-master UDMA33
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting WDMA2 on Intel chip
acd0: <UJDA310/3.53> CD-RW drive at ata1 as master
acd0: read 3445KB/s (50012KB/s) write 689KB/s (689KB/s), 2048KB buffer, WDMA2
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes: CD-R, CD-RW, test write
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 0
pcic0: reset 1 int is 10 stat is 7f
pccard: card removed, slot 0
ad0s1: type 0xc, start 63, end = 8193149, size 8193087 : OK
ad0s2: type 0xa5, start 8193150, end = 17398394, size 9205245 : OK
ad0s3: type 0xa5, start 17398395, end = 19631429, size 2233035 : OK
start_init: trying /sbin/init
pcic0: reset 1 int is 10 stat is 7f
pccard: card inserted, slot 0
pcic0: reset 2 int is 70 stat is 7f
pcic0: reset 3 int is 70 stat is 7f
pcic0: reset 0 
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
splash: image decoder found: star_saver
aic-: aic0 exists, using next available unit number
pccard0: Assigning aic1: io 0x340-0x35f irq 10 mem 0x0-0xffffffff
pcic: I/O win 0 flags 15 340-35f
aic1: Forcing IRQ to 10
pcic: I/O win 0 flags 5 340-35f
aic1: <Adaptec 6260/6360 SCSI controller> at port 0x340-0x35f irq 10 slot 0 on pccard0
pcic: I/O win 0 flags 15 340-35f
aic1: Forcing IRQ to 10
aic1: aic6360, dma, disconnection, parity check
pcic0: Event mask 0x9
>Release-Note:
>Audit-Trail:
>Unformatted:

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?20020223.135440.74753592.t.ichinoseki>