Проблема при загрузке

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Проблема при загрузке

Alexey N Hohlov

С Наступающим!
Извиняюсь за кодировку в предыдущем сообщении.

Пытаюсь загрузить OpenBSD с CF-карты через переходник IDE-CF, получаю:

>wd0(pciide0:0:0): timeout
>        type: ata
>        c_bcount: 512
>        c_skip: 0
>pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21

Поиск привёл к таким советам:
http://www.opennet.ru/openforum/vsluhforumID1/26610.html
http://mailman.theapt.org/pipermail/openbsd-newbies/2003-September/002016.html

По советам сделал:
 # cd /
 # config -e -o bsd.new /bsd
  ...

  Enter 'help' for information
  ukc> change wd*
  34 wd* at wdc0|wdc1|wdc*|wdc*|pciide* channel -1 flags 0x0
  change [n] y
  channel [-1] ?
  flags [0] ? 0x0fac
  34 wd* changed
  34 wd* at wdc0|wdc1|wdc*|wdc*|pciide* channel -1 flags 0xfac
  ukc> quit
  Saving modified kernel.

 # cp bsd bsd.old
 # cp bsd.new bsd    
 # reboot

После проделанного изменений - никаких.
Подскажите, реально ли заставить систему грузиться? Может как-то отключить DMA
для IDE устройств?

Полный вывод консоли при загрузке:

>> OpenBSD/i386 BOOT 3.02
boot>
booting hd0a:/bsd: 6238560+1041588 [52+319712+302630]=0x7896c4
entry point at 0x200120

[ using 622768 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6tm w/ multimedia extensions ("AuthenticAMD" 586-class) 201 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 150568960 (143MB)
avail mem = 136953856 (130MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/21/98, BIOS32 rev. 0 @ 0xf04d0
apm0 at bios0: Power Management spec V1.2 (BIOS management disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xaf2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0a80/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439TX System" rev 0x01
piixpcib0 at pci0 dev 1 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <CF CARD 2GB>
wd0: 1-sector PIO, LBA, 1935MB, 3964464 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 1 function 2 "Intel 82371AB USB" rev 0x01: couldn't map
interrupt
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL3
spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC100CL3
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ffe5 netmask ffe5 ttymask ffff
softraid0 at root
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0x80<BSY>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0x80<BSY>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying

--
Alexey N Hohlov
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Проблема при загрузке

Dmitri Alenichev
Alexey N Hohlov wrote:
> Подскажите, реально ли заставить систему грузиться? Может как-то отключить DMA
> для IDE устройств?

Ваш случай описан в faq: http://openbsd.org/faq/faq12.html#i386flash


Reply | Threaded
Open this post in threaded view
|

Re: Проблема при загрузке

Alexey N Hohlov
В сообщении от Tuesday 30 December 2008 19:46:39 Dmitri Alenichev написал(а):
> Ваш случай описан в faq: http://openbsd.org/faq/faq12.html#i386flash

Спасибо! Помогло!