Re: [Lug-bg] OpenBSD device timeout
- Subject: Re: [Lug-bg] OpenBSD device timeout
- From: Bozhan Bozhkov <bozho@xxxxxxxxxxx>
- Date: Fri, 24 Oct 2008 15:49:53 +0300
Alexander Iliev wrote:
> Здравейте.
>
> Тези дни реших да направя от една събираща прах Apple машина
> рутер за вкъщи. До момента за рутер ползвах i386 машина, с която
> проблеми не съм имал.
>
> Инсталирах OpenBSD, подкарах интерфейсите, настроих DHCP/DNS/etc,
> уж всичко на 6, но не. Проблемът е, че при по-голям трафик през
> някой от интерфейсите, въпросния интерфейс timeout-ва и мрежа през
> него спира да има до рестарт.
>
> Машината е Apple PowerMac G3 B&W.
> Интерфейсите са:
> * вградения Apple-ски - bm0
> * един интелски - fxp0
> * един realtek - rl0
>
> За rl0 когато се получи ядрото се оплаква с "watchdog timeout", за
> другите два с "device timeout".
>
> Не успях да накарам google да ми намери решение на проблема, повечето
> неща, на които попадам, са свързани с конфликти на прекъсвания, но
> при мен (доколкото виждам) няма такъв проблем:
>
> # dmesg
> [ using 395092 bytes of bsd ELF symbol table ]
> console out [ATY,Rage128y]console in [keyboard] USB and ADB found, using USB
> : memaddr 88000000 size 8000000, : consaddr 88000000, : ioaddr 80b20000,
> size 20000: memtag 8000, iotag 8000: width 640 linebytes 640 height 480
> depth 8
> 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.3 (GENERIC) #1670: Wed Mar 12 11:12:33 MDT 2008
> deraadt@xxxxxxxxxxxxxxxxxx:/usr/src/sys/arch/macppc/compile/GENERIC
> real mem = 536870912 (512MB)
> avail mem = 512065536 (488MB)
> mainbus0 at root: model PowerMac1,1
> cpu0 at mainbus0: 750 (Revision 0x8201): 400 MHz: 1MB backside cache
> mem0 at mainbus0
> mpcpcibr0 at mainbus0 pci: grackle, Revision 0x40
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 0 function 0 "Motorola MPC106 PCI" rev 0x40
> ppb0 at pci0 dev 13 function 0 "DEC 21154 PCI-PCI" rev 0x02
> pci1 at ppb0 bus 1
> "TI TSB12LV21 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
> pciide0 at pci1 dev 1 function 0 "CMD Technology PCI0646" rev 0x07: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using irq 26 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <IBM-DHEA-38451>
> wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> rl0 at pci1 dev 2 function 0 "Realtek 8139" rev 0x10: irq 23, address
> 00:e0:4c:ac:14:0b
> rlphy0 at rl0 phy 0: RTL internal PHY
> fxp0 at pci1 dev 3 function 0 "Intel 8255x" rev 0x05, i82558: irq 24,
> address 00:50:8b:0f:4d:95
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
> macobio0 at pci1 dev 5 function 0 "Apple Paddington" rev 0x00
> macintr0 at macobio0 offset 0x10
> mesh0 at macobio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
> scsibus0 at mesh0: 8 targets
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 15,16
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> awacs0 at macobio0 offset 0x14000: irq 17,8,9 headphones
> audio0 at awacs0
> "power-mgt" at macobio0 offset 0x0 not configured
> "fdc" at macobio0 offset 0x15000 not configured
> adb0 at macobio0 offset 0x16000 irq 18: via-cuda, 0 targets
> piic0 at adb0
> iic0 at piic0
> wdc0 at macobio0 offset 0x20000 irq 13: DMA
> atapiscsi0 at wdc0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <MATSHITA, CD-ROM CR-589, GA0W> SCSI0
> 5/cdrom removable
> atapiscsi1 at wdc0 channel 0 drive 1
> scsibus2 at atapiscsi1: 2 targets
> sd0 at scsibus2 targ 0 lun 0: <IOMEGA, ZIP 100, 12.A> SCSI0 0/direct
> removable
> sd0: drive offline
> cd0(wdc0:0:0): using BIOS timings, DMA mode 2
> sd0(wdc0:0:1): using BIOS timings
> bm0 at macobio0 offset 0x11000 irq 42,33: address 00:50:e4:90:38:04
> lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 3
> "nvram" at macobio0 offset 0x60000 not configured
> ohci0 at pci1 dev 6 function 0 "Opti 82C861" rev 0x10: irq 28, version
> 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "Opti OHCI root hub" rev 1.00/1.00 addr 1
> vgafb0 at pci0 dev 16 function 0 "ATI Rage 128 GL" rev 0x00, mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> uhidev0 at uhub0 port 2 configuration 1 interface 0 "Silitek USB
> Keyboard" rev 1.10/2.00 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub0 port 2 configuration 1 interface 1 "Silitek USB
> Keyboard" rev 1.10/2.00 addr 2
> uhidev1: iclass 3/0, 2 report ids
> uhid0 at uhidev1 reportid 1: input=5, output=0, feature=0
> uhid1 at uhidev1 reportid 2: input=5, output=0, feature=4
> softraid0 at root
> bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:/bsd
> root on wd0a swap on wd0b dump on wd0b
>
> Всякакви съвети и предположения са добре дошли.
>
> Поздрави,
>
А някъде има ли отзиви, как работи BSD на подобни машини?
Имах същия проблем на един HP Proliant, не помня кой модел точно.
Хората искаха bsd, сложихме freebsd, но така си умираха интерфейсите.
Четохме, прекомпилирахме и какво ли не.
В крайна сметка не се откри причината за проблема, но в документацията
за "подържани ОС" пише windows xxx и rhel.
Така че сега на машината се мъдри CentOS и с него няма проблем.
Може да сме пропуснали нещо важно, характерно точно за тези машини, но
какво, така и не разбрахме.
//
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|