Re: problem with tulip on Debian/Netwinder
On Fri, Sep 13, 2002 at 11:07:03PM +0200, Stefan Wuerthner wrote:
>
> 'ifconfig eth0 192.168.24.70' works fine
>
> 'ifconfig eth1 192.168.24.80' fails:
Strange, can't explain that one.
> eth1: (1) System error occured
> eth1: (1) System error occured
That I do remember, pretty much killing everything after that. As I
recall we determined this was a compiler/binutils issue; the same
source compiled with different tools worked fine. Are you using a
custom kernel or a stock one?
> Sep 13 02:09:15 netwinder kernel: W82C105: IDE controller on PCI bus 00 dev 59
> Sep 13 02:09:15 netwinder kernel: W82C105: 100%% native mode on irq 14
> Sep 13 02:09:15 netwinder kernel: ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:pio, hdb:pio
> Sep 13 02:09:15 netwinder kernel: ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:pio, hdd:pio
> Sep 13 02:09:15 netwinder kernel: hda: ST380021A, ATA DISK drive
> Sep 13 02:09:15 netwinder kernel: hda: selected PIO mode 4 (120ns)
>
> Why only PIO mode 4, although the disc is able to do DMA/UDMA?
Here's what I get on mine...:
Kernel command line: ide0=autotune video=800x600 netconfig_eth0=disk
netconfig_eth1=disk
...
W82C105: IDE controller on PCI bus 00 dev 61
W82C105: chipset revision 5
W82C105: 100% native mode on irq 14
ide0: BM-DMA at 0x60a0-0x60a7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x60a8-0x60af, BIOS settings: hdc:DMA, hdd:DMA
hda: HITACHI_DK229A-10, ATA DISK drive
hda: selected PIO 4 (120ns) (0240)
ide0 at 0x60c0-0x60c7,0x3f6 on irq 14
hda: 19640880 sectors (10056 MB) w/512KiB Cache, CHS=19485/16/63,(U)DMA
This is because i have rev5 of the chipset, and DMA will fail. I can
turn it on with hdparm but it switches itself right back off after a
couple of hda errors.
Don't concern yourslef with the "BIOS settings", you can override with
hdparm. But do check your version with "lspci":
00:0c.1 IDE interface: Symphony Labs SL82c105 (rev 05)
You need rev 10 for DMA to work reliably. Blame Winbond.
> A last question: how can I control the Netwinder fan under Debian?
Don't know about debian, sorry, but normally there is a utility called
"set_therm" for doing this, and also "fan_ctrl". They come from a
package called nwutil, whcih you can find, if not in debian, then on
netwinder.org in rpm format.
--
Ralph Siemsen
www.netwinder.org
Reply to: