From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 00:36:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DA3A16A4B3 for ; Wed, 8 Oct 2003 00:36:06 -0700 (PDT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id A43B743FAF for ; Wed, 8 Oct 2003 00:36:01 -0700 (PDT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.24; FreeBSD 5.1) id 1A78sm-0000EK-Mi; Wed, 08 Oct 2003 11:37:16 +0400 From: "Vladimir B. Grebenschikov" To: Soren Schmidt In-Reply-To: <200310071926.h97JQ5eA004835@spider.deepcore.dk> References: <200310071926.h97JQ5eA004835@spider.deepcore.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Organization: SWsoft Inc. Message-Id: <1065598633.868.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 08 Oct 2003 11:37:16 +0400 Sender: Vladimir Grebenschikov cc: "current@freebsd.org" Subject: Re: ATAng doesn't boot on my notebook - panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 07:36:06 -0000 =D0=92 =D0=B2=D1=82, 07.10.2003, =D0=B2 23:26, Soren Schmidt =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > It seems Vladimir B. Grebenschikov wrote: > > > Any solution or workaround ? >=20 > Try this patch please: >=20 > diff -u -r1.191 ata-all.c Does not help, another panic in ad_attach: ... GEOM: create disk ad1 dp=3D0xc2358a70 ad1: ATA-0 disk at ata1-master ad1: 3MB (7904 sectors), 247 C, 2 H, 16 S, 512 B ad1: 1 secs/int, 1 depth queue, BIOSPIO Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x6 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc047d801 stack pointer =3D 0x10:0xc0c21cf4 frame pointer =3D 0x10:0xc0c21d3c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (swapper) kernel: type 12 trap, code=3D0 Stopped at ad_attach+0x61: movzbl 0x6(%edi),%ecx db> tra ad_attach(c227d2d4,1,c1122c50,c074a990,c0c21d74) at ad_attach+0x61 ata_boot_attach(0,c0539736,c0768fec,0,c074a990) at ata_boot_attach+0x6f run_interrupt_driven_config_hooks(0,0,c1120708,c1120708,c1ec00) at run_inte= rrupt_driven_config_hooks+0x2b mi_startup() at mi_startup+0xa1 begin() at begin+0x2c db> =20 full boot -v: OK boot -v /boot/kernel.soren/acpi.ko text=3D0x3b43c data=3D0x16cc+0xee0 syms=3D[0x4+0= x6480+0x4+0x7fb5] SMAP type=3D01 base=3D0000000000000000 len=3D000000000009f800 SMAP type=3D02 base=3D000000000009f800 len=3D0000000000000800 SMAP type=3D02 base=3D00000000000e7800 len=3D0000000000018800 SMAP type=3D01 base=3D0000000000100000 len=3D000000000bef0000 SMAP type=3D03 base=3D000000000bff0000 len=3D000000000000f800 SMAP type=3D04 base=3D000000000bfff800 len=3D0000000000000800 SMAP type=3D02 base=3D00000000fffe7800 len=3D0000000000018800 Copyright (c) 1992-2003 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.1-CURRENT #11: Wed Oct 8 03:00:25 MSD 2003 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK Preloaded elf kernel "/boot/kernel.soren/kernel" at 0xc08a8000. Preloaded elf module "/boot/kernel.soren/ums.ko" at 0xc08a8208. Preloaded elf module "/boot/kernel.soren/usb.ko" at 0xc08a82b8. Preloaded elf module "/boot/kernel.soren/ukbd.ko" at 0xc08a8368. Preloaded elf module "/boot/kernel.soren/snd_neomagic.ko" at 0xc08a8418. Preloaded elf module "/boot/kernel.soren/snd_pcm.ko" at 0xc08a84d0. Preloaded elf module "/boot/kernel.soren/acpi.ko" at 0xc08a8584. Calibrating clock(s) ... i8254 clock: 1193111 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 331580921 Hz CPU: Pentium II/Pentium II Xeon/Celeron (331.58-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x66a Stepping =3D 10 Features=3D0x183f9ff real memory =3D 201261056 (191 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c26000 - 0x000000000bc69fff, 184827904 bytes (45124 pages) avail memory =3D 185966592 (177 MB) bios32: Found BIOS32 Service Directory header at 0xc00f6c50 bios32: Entry =3D 0xfd7c0 (c00fd7c0) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0xfd7c0+0x214 pnpbios: Found PnP BIOS data at 0xc00f6c80 pnpbios: Entry =3D f0000:b5d4 Rev =3D 1.0 Other BIOS signatures found: random: mem: Pentium Pro MTRR support enabled null: npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x80003b54 pci_open(1a): mode1res=3D0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=3D060000] [hdr=3D00] is there (id=3D7192808= 6) pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdf50 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 1 A 0x60 9 embedded 0 1 B 0x61 9 embedded 0 1 C 0x62 9 embedded 0 1 D 0x63 9 embedded 0 7 D 0x63 9 embedded 0 8 A 0x60 9 embedded 0 8 B 0x61 9 embedded 0 9 A 0x62 9 embedded 0 10 A 0x61 9 embedded 0 11 A 0x60 9 embedded 0 6 A 0x60 9 AcpiOsDerivePciId: bus 0 dev 7 func 2 AcpiOsDerivePciId: bus 0 dev 10 func 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi0: Power Button (fixed) ACPI timer looks BAD min =3D 2, max =3D 8, width =3D 6 ACPI timer looks BAD min =3D 2, max =3D 8, width =3D 6 ACPI timer looks BAD min =3D 2, max =3D 8, width =3D 6 ACPI timer looks BAD min =3D 3, max =3D 16777202, width =3D 16777199 ACPI timer looks BAD min =3D 3, max =3D 8, width =3D 5 ACPI timer looks BAD min =3D 3, max =3D 9, width =3D 6 ACPI timer looks BAD min =3D 2, max =3D 8, width =3D 6 ACPI timer looks BAD min =3D 0, max =3D 8, width =3D 8 ACPI timer looks BAD min =3D 3, max =3D 8, width =3D 5 ACPI timer looks BAD min =3D 3, max =3D 8, width =3D 5 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \_SB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.8.0 \_SB_.LNKC irq 0: [ 9] low,level,sharable 0.9.0 \_SB_.LNKB irq 9: [ 9] low,level,sharable 0.10.0 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.11.0 \_SB_.LNKB irq 9: [ 9] low,level,sharable 0.8.1 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.6.0 ---- before setting priority for links ------------ \_SB_.LNKC: interrupts: 9 penalty: 710 references: 1 priority: 0 ---- before fixup boot-disabled links ------------- \_SB_.LNKC: interrupts: 9 penalty: 710 references: 1 priority: 710 ---- after fixup boot-disabled links -------------- \_SB_.LNKC: interrupts: 9 penalty: 710 references: 1 priority: 710 ---- arbitrated configuration --------------------- \_SB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.8.0 \_SB_.LNKC irq 0: [ 9] low,level,sharable 0.9.0 \_SB_.LNKB irq 9: [ 9] low,level,sharable 0.10.0 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.11.0 \_SB_.LNKB irq 9: [ 9] low,level,sharable 0.8.1 \_SB_.LNKA irq 9: [ 9] low,level,sharable 0.6.0 pci0: on pcib0 pci0: physical bus=3D0 map[10]: type 3, range 32, base 00000000, size 26, enabled found-> vendor=3D0x8086, dev=3D0x7192, revid=3D0x03 bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0106, statreg=3D0xa200, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n= s) map[10]: type 1, range 32, base fecff000, size 12, enabled map[14]: type 4, range 32, base 0000fcc0, size 6, enabled map[18]: type 1, range 32, base fed00000, size 20, enabled pcib0: matched entry for 0.6.INTA (source \_SB_.LNKA) pcib0: slot 6 INTA is routed to irq 9 found-> vendor=3D0x8086, dev=3D0x1229, revid=3D0x08 bus=3D0, slot=3D6, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0013, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x38 (= 14000 ns) intpin=3Da, irq=3D9 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=3D0x8086, dev=3D0x7110, revid=3D0x02 bus=3D0, slot=3D7, func=3D0 class=3D06-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x000f, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) map[20]: type 4, range 32, base 0000fcb0, size 4, enabled found-> vendor=3D0x8086, dev=3D0x7111, revid=3D0x01 bus=3D0, slot=3D7, func=3D1 class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n= s) map[20]: type 4, range 32, base 0000fc60, size 5, enabled pcib0: matched entry for 0.7.INTD (source \_SB_.LNKD) pcib0: slot 7 INTD is routed to irq 9 found-> vendor=3D0x8086, dev=3D0x7112, revid=3D0x01 bus=3D0, slot=3D7, func=3D2 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n= s) intpin=3Dd, irq=3D9 map[90]: type 4, range 32, base 00002180, size 4, enabled found-> vendor=3D0x8086, dev=3D0x7113, revid=3D0x02 bus=3D0, slot=3D7, func=3D3 class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0003, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) map[10]: type 3, range 32, base fd000000, size 24, enabled map[14]: type 1, range 32, base fe400000, size 22, enabled map[18]: type 1, range 32, base feb00000, size 20, enabled pcib0: matched entry for 0.8.INTA (source \_SB_.LNKA) pcib0: slot 8 INTA is routed to irq 9 found-> vendor=3D0x10c8, dev=3D0x0005, revid=3D0x20 bus=3D0, slot=3D8, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0003, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x80 (3840 ns), mingnt=3D0x10 (4000 ns), maxlat=3D0xff (= 63750 ns) intpin=3Da, irq=3D9 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base fe000000, size 22, enabled map[14]: type 1, range 32, base fea00000, size 20, enabled pcib0: matched entry for 0.8.INTB (source \_SB_.LNKB) pcib0: slot 8 INTB is routed to irq 9 found-> vendor=3D0x10c8, dev=3D0x8005, revid=3D0x20 bus=3D0, slot=3D8, func=3D1 class=3D04-01-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0002, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D9 powerspec 1 supports D0 D3 current D0 map[10]: type 1, range 32, base fecfec00, size 9, memory disabled found-> vendor=3D0x104d, dev=3D0x8009, revid=3D0x01 bus=3D0, slot=3D9, func=3D0 class=3D0c-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0000, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n= s) intpin=3Da, irq=3D255 powerspec 1 supports D0 D3 current D0 found-> vendor=3D0x1180, dev=3D0x0475, revid=3D0x00 bus=3D0, slot=3D10, func=3D0 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D0 cmdreg=3D0x0000, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fece0000, size 16, memory disabled map[14]: type 4, range 32, base 0000fca8, size 3, port disabled found-> vendor=3D0x127a, dev=3D0x2005, revid=3D0x01 bus=3D0, slot=3D11, func=3D0 class=3D07-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0000, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 n= s) intpin=3Da, irq=3D255 powerspec 2 supports D0 D3 current D3 pci0: at device 6.0 (no driver attached) PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcb0-0xfcbf at device 7.1 o= n pci0 ata0: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00 ata0-master: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0-slave: stat=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 mask=3D03 stat0=3D50 stat1=3D00 devices=3D0x1 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D50 ata1-master: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata1-slave: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata1: reset tp2 mask=3D03 stat0=3D50 stat1=3D50 devices=3D0x3 ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xfc60-0xfc7f irq 9 a= t device 7.2 on pci0 usb0: 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 uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 4 ports with 4 removable, self powered ums0: Microsoft Microsoft IntelliMouse=E2=95=9D Explorer, rev 1.10/1.14, ad= dr 3, iclass 3/1 ums0: 5 buttons and Z dir. ukbd0: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, add= r 4, iclass 3/1 kbd: new array size 4 kbd1 at ukbd0 kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000 ums1: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, addr= 4, iclass 3/1 ums1: 3 buttons intpm0: port 0x2180-0x218f irq = 9 at device 7.3 on pci0 intpm0: I/O mapped 2180 intpm0: intr IRQ 9 enabled revision 0 intsmb0: on intpm0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000=20 pci0: at device 8.0 (no driver attached) pcm0: mem 0xfea00000-0xfeafffff,0xfe000000-0xfe3fffff irq = 9 at device 8.1 on pci0 pcm0: buftop is 0x0027ec00 pcm0: buftop is changed to 0x0027ec00 pcm0: pcm0: Codec features headphone, 5 bit master volume, AKM 3D Audio pcm0: rec buf 0xcbcf7c00 pcm0: play buf 0xcbcf3c00 pci0: at device 9.0 (no driver attached) pci0: at device 10.0 (no driver attached) pci0: at device 11.0 (no driver attached) speaker0 port 0x61 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: 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:0x1d0000 psm0: unable to allocate IRQ psmcpnp0 irq 12 on acpi0 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 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 53 02 14 psm: data 08 00 00 psm: status 00 02 64 psm0: 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 sio0: irq maps: 0x201 0x211 0x201 0x201 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1: irq maps: 0x201 0x601 0x201 0x201 sio1 port 0x140-0x147,0x3e8-0x3ef irq 10 drq 0 on acpi0 sio1: type 16550A unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it sc: sc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it vga: vga0 already exists; skipping it 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 pmtimer0 on isa0 orm0: