kernel panic during boot for ata trouble

Ferruccio Zamuner nonsolosoft at diff.org
Tue Jul 25 08:44:15 PDT 2006


Hi,

I've download:
http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/i386/LATEST-Release-1.6.iso.bz2
and I tried it on a old PC with AMD Athlon 700MHz. and Asus A7V mobo.
That mainboard has 2 controllers (one Ultra66 and other Ultra100) and 4 ata channels; I've only one hd ata100 master on ata2 channel.
it enter in kernel panic after some resetting of ata2 channel:
----------
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: 152627MB <WDC WD1600JB-00REA0> [310101/16/63] at ata2-master UDMA100
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ad4: trying fallback to PIO mode
ata2: resetting devices .. done
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x41455378
fault code            = supervisor write, page not present
instruction pointer   = 0x8:0xc019cc66
stack pointer         = 0x10:0xc8d25cdc
frame pointer         = 0x10:0xc8d25d0c
code segment          = base 0x0, limit 0xfffff, type 0x1b
                    = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, resume, IOPL = 0
current process       = idle
current thread        = pri 60 (CRIT)
kernel type 12 trap, code=2
stopped at ad_interrupt+0x38a: movl %eax,0x148(%edx)
db>
-------
I'm tried also 1.4.4 iso, it works and complete the bootstrap, here is the dmesg:

Copyright (c) 2003, 2004, 2005, 2006 The DragonFly Project.
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.
DragonFly 1.4.4-RELEASE #1: Sat Apr 22 10:46:47 PDT 2006
  root@:/home/usr.obj/usr/src/sys/GENERIC
TSC clock: 706217168 Hz, i8254 clock: 1193061 Hz
CPU: AMD Athlon(tm) Processor (706.29-MHz 686-class CPU)
Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 134135808 (130992K bytes)
avail memory = 120131584 (117316K bytes)
Preloaded elf kernel "/kernel" at 0xc0714000.
Preloaded elf module "/modules/acpi.ko" at 0xc071421c.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00f16c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7V> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
compare 0
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe7000000-0xe7ffffff at device 0.0 on pci0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Rage128-RF graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 5 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 5 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub1: port error, restarting port 1
uhub1: port error, giving up port 1
intr 5 at 50001 > 50000 hz, livelocked limit engaged!
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
pci0: <unknown card> (vendor=0x105a, dev=0x3d73) at 10.0 irq 12
pci0: <unknown card> (vendor=0x1274, dev=0x5880) at 11.0 irq 10
rl0: <RealTek 8139 10/100BaseTX> port 0x8400-0x84ff mem 0xdd800000-0xdd8000ff irq 11 at device 12.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: MAC address: 00:05:1c:1b:6d:6f
atapci1: <Promise ATA100 controller> port 0x6800-0x683f,0x7000-0x7003,0x7400-0x7407,0x7800-0x7803,0x8000-0x8007 mem 0xdd000000-0xdd01ffff irq 10 at device 17.0 on pci0
ata2: at 0x8000 on atapci1
ata3: at 0x7400 on atapci1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xcc000-0xcdfff,0xd0000-0xd4fff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
intr 5 at 7378 < 20000 hz, livelock removed
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: 152627MB <WDC WD1600JB-00REA0> [310101/16/63] at ata2-master UDMA100
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ad4: trying fallback to PIO mode
ata2: resetting devices .. done
acd0: CDROM <50X CD-ROM> at ata1-slave PIO4
Mounting root from cd9660:cd0c
cd0 at ata1 bus 0 target 1 lun 0
cd0: < 50X CD-ROM 5.3A> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [115810 x 2048 byte records]
I hope that this could be useful.

Bye,                        \fer





More information about the Bugs mailing list