Re: le0 - DE203 kernel config problem

2003-04-03 Thread Christoph P. Kukulies
On Wed, Apr 02, 2003 at 01:27:43PM -0500, Matthew N. Dodd wrote:
 On Wed, 2 Apr 2003, Christoph Kukulies wrote:
  I tried to get a DE203 NIC (ISA) working with 5.0R.
 ...
  Since I forgot how the card was programmed I tried and got it
  probed at io=0x200
 ...
  Any clues how to proceed to get this card working?
 
 Find out what the configuration settings on the card are and use them.
 
 Trial and error is likely to produce the results you mentioned.

I programmed the NIC now to 200/5 32K, C8000 , 16bit bus, not fast bus,
and it gets detected but I get a kernel panic. The kernel panic occurs in
process ifconfig.

It seems that whenever the device is properly probed and being used, the
panic occurs.

I can supply more panic data, if you want.

--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Matthew N. Dodd
On Thu, 3 Apr 2003, Christoph P. Kukulies wrote:
 It seems that whenever the device is properly probed and being used, the
 panic occurs.

 I can supply more panic data, if you want.

I'd appreciate that.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Christoph P. Kukulies
On Thu, Apr 03, 2003 at 04:27:37AM -0500, Matthew N. Dodd wrote:
 On Thu, 3 Apr 2003, Christoph P. Kukulies wrote:
  It seems that whenever the device is properly probed and being used, the
  panic occurs.
 
  I can supply more panic data, if you want.
 
 I'd appreciate that.

OK, I'm typing:

Fatal trap 12

faul virtual address  = 0x0
fault code= Supervisor read, page not present
instruction pointer   = 0x8:0x0
stack pointer = 0x10:0xc8d37b10
frame pointer = 0x10:0xc8d37b2c
code segment  = base 0x0, limit 0xf, tzpe 0x1b
  = DPL 0, pres 1, def321, gran1
processor eflags  = interrupt enable, res?, IOP=0
current process   = 182 (ifconfig)
trap number   = 12

panic: page fault



Sorry, couldn't read my own handwriting (resume?) in 4th but last line

NIC: IO Base 200H
Memmode   32K
Membase  C8000
IRQ 5
Fast Bus Disable
16bit Bus enabled

FreeBSD 5.0-Release

--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Daniel Lang
Hi Christoph,

Christoph P. Kukulies wrote on Thu, Apr 03, 2003 at 11:45:09AM +0200:
[..]
   I can supply more panic data, if you want.
  
  I'd appreciate that.
 
 OK, I'm typing:
[..]

Please get a crashdump. I thinks it's described in the
handbook, how to do it. In short:

- set dumpdev in rc.conf, use your swap-partition
- ensure you have at least as much space in /var as your swap
- build a kernel with debugging symbols (makeoptionsDEBUG=-g)
- boot the new kernel
- panic the box
- a crashdump should be written to the dump-device
- reboot
- savecore will salvage the dump from swap to /var/crash/vmcore.x
(x beeing a number)
- once done run
  gdb -k /usr/obj/usr/src/sys/MACHINE/kernel.debug /var/crash/vmcore.x

  (you cannot use /kernel since it is stripped from the symbols)
- in gdb use the 'bt' command to get a stack trace
- post this information or use send-pr to file a problem report

Best regards,
 Daniel
-- 
IRCnet: Mr-Spock  - Me transfere sursum, Caledoni -  
*Daniel Lang * [EMAIL PROTECTED] * +49 89 289 18532 * http://www.leo.org/~dl/*
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Matthew N. Dodd
Ok, I know what the problem is; if_init isn't being initialized.

I'm working on it.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Matthew N. Dodd
This should fix it:

ftp://ftp.jurai.net/users/winter/patches/if_le.patch

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-03 Thread Christoph P. Kukulies
On Thu, Apr 03, 2003 at 05:48:26AM -0500, Matthew N. Dodd wrote:
 This should fix it:
 
 ftp://ftp.jurai.net/users/winter/patches/if_le.patch

This patch worked. It makes the interface configurable and I'd bet 
make it work after I have  configured my firewall.

One thing: The patch does not pass the normal kernel compilation 
since it does an implicit pointer conversion, that bails out
the kernel make due to the strict settings  (-Werror).
(line 351 of if_le.c)

Thanks for the quick response this morning.

--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-02 Thread Matthew N. Dodd
On Wed, 2 Apr 2003, Christoph Kukulies wrote:
 I tried to get a DE203 NIC (ISA) working with 5.0R.
...
 Since I forgot how the card was programmed I tried and got it
 probed at io=0x200
...
 Any clues how to proceed to get this card working?

Find out what the configuration settings on the card are and use them.

Trial and error is likely to produce the results you mentioned.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-02 Thread Christoph P. Kukulies
On Wed, Apr 02, 2003 at 01:27:43PM -0500, Matthew N. Dodd wrote:
 On Wed, 2 Apr 2003, Christoph Kukulies wrote:
  I tried to get a DE203 NIC (ISA) working with 5.0R.
 ...
  Since I forgot how the card was programmed I tried and got it
  probed at io=0x200
 ...
  Any clues how to proceed to get this card working?
 
 Find out what the configuration settings on the card are and use them.
 
 Trial and error is likely to produce the results you mentioned.

Problem is that I probably don't have a configuration disk anymore.

--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: le0 - DE203 kernel config problem

2003-04-02 Thread Robert Swindells

Christoph Kukulies wrote:
On Wed, Apr 02, 2003 at 01:27:43PM -0500, Matthew N. Dodd wrote:
 On Wed, 2 Apr 2003, Christoph Kukulies wrote:
  I tried to get a DE203 NIC (ISA) working with 5.0R.
 ...
  Since I forgot how the card was programmed I tried and got it
  probed at io=0x200
 ...
  Any clues how to proceed to get this card working?
 
 Find out what the configuration settings on the card are and use them.
 
 Trial and error is likely to produce the results you mentioned.

Problem is that I probably don't have a configuration disk anymore.

What would you give for one ? :-)

Robert Swindells
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]