DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th December 2021
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 97
Default Problem with axe driver?

Greetings all,

I have a USB to RJ-45 adapter with ASIX AX88772B chip, which is correctly recognized, based on the fact that the axe driver is attached. The adapter can be configured via hostname.axe0, and ifconfig show that the configuration is accepted and the status is active.

However, there is no connectivity. The dmesg correctly recognize the adapter and its chip, but also report:
Code:
axe0: usb errors on rx: IOERROR
The axe(4) man-page does not list this error under DIAGNOSTIC. How else would I go about diagnosing the problem?

Kindest regards,

M
Reply With Quote
  #2   (View Single Post)  
Old 20th December 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

See the `debug` parameter of ifconfig(8). This may produce debugging output to your dmesg(8) and to /var/log/messages.
Reply With Quote
  #3   (View Single Post)  
Old 20th December 2021
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 97
Default

Hi jggimi,

thank you for your reply.

Unfortunately, neither
Code:
# infonfig axe0 debug
nor
Code:
# ifconfig axe0 -debug
produces any debugging output in dmesg(8).

In addition, there is no file /var/log/messages to inspect. Should I create it?

Kindest regards,

M
Reply With Quote
  #4   (View Single Post)  
Old 20th December 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Ah. Sorry about that. I have just looked through /usr/src/sys/dev/usb/if_axe.c, and can see that there are some limited debug output printf(3) calls. You may have to set debug before establishing your initial network connection.

Last edited by jggimi; 20th December 2021 at 10:53 PM. Reason: clarity and a rethink.
Reply With Quote
  #5   (View Single Post)  
Old 21st December 2021
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 97
Default

Hi jggimi,

thank you, but please do not spend so much time on this.

I am not sure about your advice. As the hostname.if(5) explains, the content of /etc/hostname.axe0 is read and the arguments found there are passed to to ifconfig(8). Since ifconfig(8) accepts the debug parameter, I added it into the file, which now contains
Code:
inet XXX.XXX.XXX.XXX YYY.YYY.YYY.YYY debug
wherein the X identifies IP address digits and the Y identifies mask digits. But now the OS prints
Code:
ifconfig: debug: bad value
I removed the /etc/hostname.axe0 and entered the ifconfig(8) command from command line, however, again there is no debug information.

BTW, the syslog(3) still complains that file /var/log/messages does not exist.

Kindest regards,

M
Reply With Quote
  #6   (View Single Post)  
Old 22nd December 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

There may not be any debug output, then.

/var/log/messages is part of a standard installation. If missing, you can create it with `# touch /var/log/messages`
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMT driver (VMware Tools driver) on OpenBSD 4.8 xinform3n OpenBSD General 7 9th December 2010 10:48 PM
Which mouse driver Mr-Biscuit NetBSD General 0 9th June 2010 12:43 AM
msk(4) Driver indienick FreeBSD General 4 4th May 2009 04:51 PM
Intel ATOM D945GCLF onboard LAN driver-card problem mona FreeBSD Installation and Upgrading 7 17th December 2008 04:50 PM
X Radeon driver sum FreeBSD Installation and Upgrading 5 28th September 2008 03:49 PM


All times are GMT. The time now is 12:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick