[Soekris] Re: ALTQ on sis interface (DP83815 10/100) - init_machclk() fault

S. Aeschbacher s.aeschbacher at bturtle.ch
Mon Feb 18 17:48:41 UTC 2002


Hi
try:
option ALTQ_NOPCC
in your Kernel (options(4)).

Stefan Aeschbacher


matt wrote:
> 
>  (OpenBSD)
> 
>   Wanted to run this before a few eyes before I file a bug report.
>   Platform is a Soekris Engineering net4501, a singleboard x86 system
>   with three sis ethernet interfaces.
> 
>   I'm mostly worried that I've overlooked something simple, and
>   this panic is my own fault. Trace and everything are inline, it will
>   be extremely difficult to get a core -- storage space is limited.
>   If anyone has some insight, please clue me in.
> 
>   GENERIC kernel and altq tools are both compiled from 3.0 branch
>   cvsup'ed yesterday (17/02/02).
> 
>   thanks for the time
>   matthew
> 
>   altq.conf:
> -----
> interface sis0 bandwidth 256Kbps tbrsize 1K cbq
> 
> class cbq sis0 root_class NULL priority 0 pbandwidth 100
> class cbq sis0 def_class root_class borrow pbandwidth 95 default
> 
> class cbq sis0 ma_class borrow priority 5 pbandwidth 40
>         filter sis0 ma_class 1.2.3.4 netmask 0xffffffff 0 0 0 0
>         filter sis0 ma_class 0 0 1.2.3.4 netmask 0xffffffff 0 0
> 
> class cbq sis0 et_class borrow priority 1 pbandwidth 40
>         filter sis0 et_class 5.6.7.8 netmask 0xffffffff 0 0 0 0
>         filter sis0 et_class 0 0 5.6.7.8 netmask 0xffffffff 0 0
> -----
> 
>   When I fire up altqd, I get this panic:
> -----
> ddb> s
> kernel: privileged instruction fault trap, code=0
> Stopped at      _init_machclk+0x18:     ???
> ddb> trace
> _init_machclk(8018710e,e5c34eb8,4a00,e029b514,8018710e) at _init_machclk+0x18
> _tbr_set(e074ccc8,e5c34ec8,e5b8673c,80,e5c34dbc) at _tbr_set+0x1a
> _altqioctl(4a00,8018710e,e5c34eb8,3,e5b8673c) at _altqioctl+0xbd
> _spec_ioctl(e5c34dbc,e5b8673c,e5c34e38,e01d3ca5,0) at _spec_ioctl+0x45
> _VOP_IOCTL(e5b57be4,8018710e,e5c34eb8,3,e07fa980) at _VOP_IOCTL+0x49
> _vn_ioctl(e5c2c02c,8018710e,e5c34eb8,e5b8673c,e5b8673c) at _vn_ioctl+0xeb
> _sys_ioctl(e5b8673c,e5c34f88,e5c34f80,66,0) at _sys_ioctl+0x319
> _syscall() at _syscall+0x242
> --- syscall (number 54) ---
> 0x400adcd3:
> ddb>
> -----
> 
>   ps output is simple enough: (dmesg is at the end of this mail)
> -----
> ddb> ps
>   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
> * 2072   5432   2072      0  2      0x4006             altqd
>   4583   8028   4583     67  3      0x4084  piperd     unlinkd
>   8028  13579  13579      0  3      0x4184  poll       squid
>  13579      1  13579      0  3        0x84  wait       squid
>   5432      1   5432   1000  3      0x4086  pause      tcsh
>  10093      1  10093      0  3        0x84  nanosleep  cron
>  15028      1  15028      0  3        0x84  pause      ntpd
>    319      1    319      0  3        0x84  select     sshd
>  17989      1  17989      0  3       0x184  select     inetd
>  14671      1  14671      0  3        0x84  poll       dhcpd
>  10936      1  10936      0  3        0x84  select     portmap
>  26410      1  26410      0  3        0x84  select     isakmpd
>  12460      1  12460     70  3       0x184  select     named
>  30556      1  30556      0  3        0x84  bpf        pflogd
>   4036      1   4036      0  3        0x84  select     syslogd
>      6      0      0      0  3    0x100204  crypto_wa  crypto
>      5      0      0      0  3    0x100204  syncer     update
>      4      0      0      0  3    0x100204  cleaner    cleaner
>      3      0      0      0  3    0x100204  reaper     reaper
>      2      0      0      0  3    0x100204  daemon_sl  pagedaemon
>      1      0      1      0  3      0x4084  wait       init
>      0     -1      0      0  3     0x80204  scheduler  swapper
> ddb>
> -----
> 
>   dmesg:
> -----
> OpenBSD 3.0-stable (GENERIC) #1: Sun Feb 17 14:07:53 MST 2002
>     root at iorek:/sys/arch/i386/compile/GENERIC
> cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
> cpu0: FPU
> real mem  = 66695168 (65132K)
> avail mem = 56528896 (55204K)
> using 839 buffers containing 3436544 bytes (3356K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 20/10/28, BIOS32 rev. 0 @ 0xf00c0
> pcibios0 at bios0: rev. 2.0 @ 0xf0000/0x10000
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0xa000 0xe0000/0xa000
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "AMD ElanSC520 Host-PCI" rev 0x00
> sis0 at pci0 dev 18 function 0 "National Semiconductor DP83815 10/100" rev 0x00: irq 10 address 00:00:24:c0:03:0c
> nsphyter0 at sis0 phy 0: DP83815 10/100 integrated, rev. 1
> sis1 at pci0 dev 19 function 0 "National Semiconductor DP83815 10/100" rev 0x00: irq 11 address 00:00:24:c0:03:0d
> nsphyter1 at sis1 phy 0: DP83815 10/100 integrated, rev. 1
> sis2 at pci0 dev 20 function 0 "National Semiconductor DP83815 10/100" rev 0x00: irq 5 address 00:00:24:c0:03:0e
> nsphyter2 at sis2 phy 0: DP83815 10/100 integrated, rev. 1
> isa0 at mainbus0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-128>
> wd0: 1-sector PIO, LBA, 122MB, 980 cyl, 8 head, 32 sec, 250880 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask 4000 netmask 4c20 ttymask 4c22
> pctr: no performance counters in CPU
> dkcsum: wd0 matched BIOS disk 80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> -----



More information about the Soekris-tech mailing list