* Re: can't init network (on PWS433a 21x4x)
@ 1997-04-24 19:52 Tom Quinn
0 siblings, 0 replies; 3+ messages in thread
From: Tom Quinn @ 1997-04-24 19:52 UTC (permalink / raw)
Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
00000155556ba83c: 000000011ffff89c 2d 10
----end insert--------
These seem to come from the tcp part of the tcp/ip protocol. with netsat
udp shows up fine but the errors are with tcp. ? ? ?
Has anyone else seen this problem. I am using a eb164 board. 2.0.30,
tulip v .74
I had these same problems on our alpha PC164. It is due to the IP
header not being word aligned within the ethernet packet. I worked
around it by changing
#define SKBUFF_RX_COPYBREAK 200
to 1600 at the top of tulip.c, which forces all packets to be copied.
--
Tom Quinn Astronomy, University of Washington
Internet: trq@astro.washington.edu
Phone: 206-685-9009
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't init network (on PWS433a 21x4x)
[not found] <199704241519.LAA02116@linux03.amt.tay1.dec.com>
@ 1997-04-24 20:34 ` Christopher McCrory
1997-04-24 20:40 ` jestabro
0 siblings, 1 reply; 3+ messages in thread
From: Christopher McCrory @ 1997-04-24 20:34 UTC (permalink / raw)
At 11:19 AM 4/24/97 -0400, you wrote:
>
< SNIP>
>> Built-in -- put the following line in /etc/lilo.conf and re-run /sbin/lilo
>> append = "ether=0,0,1,eth0"
>>
>> The media types are
>>
>> 0 10baseT (with autoselect)
>> 1 10base2
>> 2 AUI
>> 3 100baseTx
>> 4 10baseT-FD
>> 5 100baseTx-FD
>> 6 100baseT4
>> 7 100baseFx
>> 8 100baseFx-FD
>> 9 MII 10baseT
>> 10 MII 10baseT-FD
>> 11 MII
>> 12 10baseT (no autoselect), v0.69 and later only
>> 13 MII 100baseTx
>> 14 MII 100baseTx-FD
>> 15 MII 100baseT4
>
>So, for example, on a 10Mbit network with a BNC connector, I specified
>at the end of the MILO "boot" line:
>
> ether=0,0,1,eth0
>
>where the first two parameters should be zero, the third is the value from
>the media type table above.
<SNIP>
Hello...
I am using a pci ether card with the same chip. These are the errors I am
getting...
---insert---
Apr 24 11:45:32 morticia kernel: scsi : detected 1 SCSI cdrom 1 SCSI disk
total.
Apr 24 11:45:32 morticia kernel: SCSI device sda: hdwr sector= 512 bytes.
Sectors= 8496884 [4148 MB] [4.1 GB]
Apr 24 11:45:32 morticia kernel: tulip.c:v0.73 4/16/97
becker@cesdis.gsfc.nasa.gov
Apr 24 11:45:32 morticia kernel: eth0: DEC 21140 Tulip at 0xb000, 00 00 92
96 8d 24, IRQ 19
Apr 24 11:45:32 morticia kernel:
Apr 24 11:45:32 morticia kernel: THIS IS AN ALPHA TEST DRIVER.
Apr 24 11:45:32 morticia kernel: The following verbose information is
emitted for
Apr 24 11:45:32 morticia kernel: bug reports on media selection.
Apr 24 11:45:32 morticia kernel: eth0: EEPROM default media type Autosense.
Apr 24 11:45:32 morticia kernel: eth0: Index #0 - Media 100baseTx-FD (#5)
described by a 21140 non-MII (0) block.
Apr 24 11:45:32 morticia kernel: eth0: Index #1 - Media 100baseTx (#3)
described by a 21140 non-MII (0) block.
Apr 24 11:45:32 morticia kernel: eth0: Index #2 - Media 10baseT-FD (#4)
described by a 21140 non-MII (0) block.
Apr 24 11:45:32 morticia kernel: eth0: Index #3 - Media 10baseT (#0)
described by a 21140 non-MII (0) block.
Apr 24 11:45:32 morticia kernel: Partition check:
Apr 24 11:45:32 morticia kernel: sda: sda1 sda2 sda3
Apr 24 11:45:32 morticia kernel: VFS: Mounted root (ext2 filesystem) readonly.
Apr 24 11:45:32 morticia kernel: Adding Swap: 72248k swap-space (priority -1)
Apr 24 11:45:32 morticia kernel: eth0: Using user-specified media .
Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
fffffc0000364994: fffffc0003b7e046 28 2
Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
fffffc0000364a50: fffffc0003b7e046 28 1
Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
fffffc0000364af0: fffffc0003b7e056 28 2
Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
fffffc0000364af8: fffffc0003b7e056 28 3
Apr 24 11:45:34 morticia kernel: kernel: unaligned trap at
fffffc0000364994: fffffc0003b7e046 28 2
Apr 24 11:45:34 morticia kernel: kernel: unaligned trap at
fffffc0000364a50: fffffc0003b7e046 28 1
Apr 24 11:45:34 morticia kernel: kernel: unaligned trap at
fffffc0000364af0: fffffc0003b7e056 28 2
Apr 24 11:45:34 morticia kernel: kernel: unaligned trap at
fffffc0000364af8: fffffc0003b7e056 28 3
Apr 24 11:45:41 morticia login: ROOT LOGIN ON tty1
Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
00000155556ba83c: 000000011ffff88c 2d 10
Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
00000155556ba83c: 000000011ffff89c 2d 10
Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
00000155556ba83c: 000000011ffff88c 2d 10
Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
00000155556ba83c: 000000011ffff89c 2d 10
----end insert--------
These seem to come from the tcp part of the tcp/ip protocol. with netsat
udp shows up fine but the errors are with tcp. ? ? ?
Has anyone else seen this problem. I am using a eb164 board. 2.0.30,
tulip v .74
thanks
Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.net
admin@netus.net
QUAKE Capture the Flag server @ quake.netus.com
"Some can do things others cannot" R.J.
Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.net
admin@netus.net
QUAKE Capture the Flag server @ quake.netus.com
"Some can do things others cannot" R.J.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't init network (on PWS433a 21x4x)
1997-04-24 20:34 ` can't init network (on PWS433a 21x4x) Christopher McCrory
@ 1997-04-24 20:40 ` jestabro
0 siblings, 0 replies; 3+ messages in thread
From: jestabro @ 1997-04-24 20:40 UTC (permalink / raw)
>>> Christopher McCrory said:
>
> I am using a pci ether card with the same chip. These are the errors
> I am
> getting...
>
> Apr 24 11:45:32 morticia kernel: tulip.c:v0.73 4/16/97
> becker@cesdis.gsfc.nasa.gov
> Apr 24 11:45:32 morticia kernel: eth0: DEC 21140 Tulip at 0xb000, 00 00 92
> 96 8d 24, IRQ 19
> Apr 24 11:45:32 morticia kernel: eth0: Using user-specified media .
> Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
> fffffc0000364994: fffffc0003b7e046 28 2
> Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
> 00000155556ba83c: 000000011ffff89c 2d 10
>
> These seem to come from the tcp part of the tcp/ip protocol.with netsat
> udp shows up fine but the errors are with tcp. ? ? ?
> Has anyone else seen this problem. I am using a eb164 board. 2.0.30,
> tulip v .74
Well, its not exactly the same board; yours has a 21140 chip on it, the
MIATA has a builtin 21142.
If the 21140 is on a DEC-made board, ie the DE500, you could try the
de4x5 driver instead.
The unaligned traps are because, in Donald Becker's words:
> Most hardware/drivers can align received frames on arbitrary byte
> boundaries. The Tulip hardware can only align receive frames on 4 byte
> boundaries, so the 14 byte header misaligns the IP header. There are
> comments about this in the driver.
>
> The only way around this to always copy the rx frame to align the Rx buffer.
> You can do this in the current driver by setting the COPYBREAK value to less
> than the minimum packet size. Could you do that and let me know what
> happens?
>
> There must be a better solution, especially considering that both chips are
> from DEC. Someone must have considered this problem...
Unfortunately, there is no "better" solution; if you look at the de4x5
driver, it uses the "copy" method described above, to get rid of the
unaligned accesses at the cost of some performance.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-04-24 20:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199704241519.LAA02116@linux03.amt.tay1.dec.com>
1997-04-24 20:34 ` can't init network (on PWS433a 21x4x) Christopher McCrory
1997-04-24 20:40 ` jestabro
1997-04-24 19:52 Tom Quinn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox