NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sparc/46572: Invalid argument accessing qe* (qec) interfaces w/NetBSD-6.0_BETA2/sparc



The following reply was made to PR port-sparc/46572; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-sparc/46572: Invalid argument accessing qe* (qec) interfaces
 w/NetBSD-6.0_BETA2/sparc
Date: Thu, 14 Jun 2012 01:19:34 -0500 (CDT)

 I have another machine (SS10) also equipped with a qec/qe card and it
 behaves the same way.  This system also uses pppoe configured through
 one of the qe* interfaces.
 
 I had hoped one of the pull-ups made today:
 
    http://mail-index.NetBSD.org/source-changes/2012/06/13/msg035002.html
 
 addressed this issue, since it refered to related ioctls.  No joy.
 
 On this system, I have to boot GENERIC with "-c" and disable the dbri
 interface due to port-sparc/34046.
 
 (I've tried 6.99.7 from today [201206140315Z or so], but GENERIC panics
 with a memory fault after noting that the root filesystem is on the
 "le0" device.)
 
 
 NetBSD nozette.technoskunk.fur 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) #7: Wed 
Jun 13 16:13:11 CDT 2012 
sysop%fred.technoskunk.fur@localhost:/d0/build/netbsd-6/obj/sparc/sys/arch/sparc/compile/GENERIC
 sparc
 
 
 ok boot net-tpe -c
 SPARCstation 10 (1 X 390Z55), No Keyboard
 ROM Rev. 2.25, 128 MB memory installed, Serial #7410937.
 Ethernet address 8:0:20:c0:ff:ee, Host ID: 72c0ffee.
 
 
 Rebooting with command: net-tpe -c 
 Boot device: /iommu/sbus/ledma@f,400010:tpe/le@f,c00000  File and args: -c
 Lost Carrier  (transceiver cable problem?) 
 Twisted pair cable problem or hub link-test disabled.
 Use the PROM command "help ethernet" for more information.
 
 ARP/RARP send failed.  Check Ethernet cable and transceiver.
 Timeout waiting for ARP/RARP packet
 14200 
 >> NetBSD/sparc Secondary Boot, Revision 1.15 (Wed Jun 13 21:27:18 CDT 2012)
 Booting netbsd
 Trying BOOTP protocol... ip address: 192.168.17.8, netmask: 255.255.255.0, 
gateway: 192.168.17.8
 root addr=192.168.17.43 path=/d1/diskless/nozette
 4091968+150560 [261376+248712]=0x488a24
 OBP version 3, revision 2.25 (plugin rev 2)
 initialized boothowt from bootloader: 1000
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
      2006, 2007, 2008, 2009, 2010, 2011, 2012
      The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.
 
 NetBSD 6.0_BETA2 (GENERIC) #7: Wed Jun 13 16:13:11 CDT 2012
        
sysop%fred.technoskunk.fur@localhost:/d0/build/netbsd-6/obj/sparc/sys/arch/sparc/compile/GENERIC
 total memory = 127 MB
 avail memory = 120 MB
 userconf: configure system autoconfiguration:
 uc> disable dbri 
 [138] dbri* disabled
 uc> exit 
 Continuing...
 bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010:t/le@f,c00000
 mainbus0 (root): SUNW,SPARCstation-10: hostid 72c0ffee 
 cpu0 at mainbus0: TMS390Z50 v1 @ 40 MHz, on-chip FPU 
 cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 
b/l): cache enabled
 obio0 at mainbus0 
 clock0 at obio0 slot 0 offset 0x200000: mk48t08
 timer0 at obio0 slot 0 offset 0x300000: delay constant 18, frequency = 2000000 
Hz
 zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
 zstty0 at zs0 channel 0 (console i/o) 
 zstty1 at zs0 channel 1 
 zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
 zstty4 at zs1 channel 0 
 kbd0 at zstty4 
 zstty5 at zs1 channel 1
 ms0 at zstty5 
 wsmouse0 at ms0 mux 0
 fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec 
 auxreg0 at obio0 slot 0 offset 0x800000 
 power0 at obio0 slot 0 offset 0xa01000 level 2
 iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x0, page-size 4096, range 
64MB
 sbus0 at iommu0: clock = 20 MHz
 dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
 esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target 
 ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
 le0 at ledma0 slot 15 offset 0xc00000 level 6: address c0:ff:ee:c0:ff:ee
 le0: 8 receive buffers, 2 transmit buffers 
 bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
 SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
 magma0 at sbus0 slot 0 offset 0x0 level 9: Magma LC 2+1 Sp 
 mtty0 at magma0: 2 ttys 
 mbpp0 at magma0: 1 port
 qec0 at sbus0 slot 2 offset 0x20000 level 4 (ipl 7): 128K memory
 qe0 at qec0 slot 0 offset 0x0 rev 1 address c0:ff:ee:c0:ff:ee 
 qe1 at qec0 slot 1 offset 0x0 rev 1 address c0:ff:ee:c0:ff:ee
 qe2 at qec0 slot 2 offset 0x0 rev 1 address c0:ff:ee:c0:ff:ee
 qe3 at qec0 slot 3 offset 0x0 rev 1 address c0:ff:ee:c0:ff:ee
 eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x1 
 scsibus0: waiting 2 seconds for devices to settle...
 wskbd0 at kbd0 mux 1 
 sd0 at scsibus0 target 1 lun 0: <QUANTUM, PD1050iS, 3110> disk fixed
 sd0: 1003 MB, 2448 cyl, 12 head, 69 sec, 512 bytes/sect x 2055096 sectors
 sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
 kbd0: reset failed 
 root on le0 
 nfs_boot: trying DHCP/BOOTP
 nfs_boot: DHCP next-server: 192.168.17.43
 nfs_boot: my_domain=technoskunk.fur 
 nfs_boot: my_addr=192.168.17.8 
 nfs_boot: my_mask=255.255.255.0
 nfs_boot: gateway=192.168.17.8 
 root on 192.168.17.43:/d1/diskless/nozette
 root file system type: nfs 
 Thu Jun 14 05:28:31 GMT 2012
 Not checking /: fs_passno = 0 in /etc/fstab
 Starting file system checks:
 Setting tty flags.
 Setting sysctl variables:
 ddb.onpanic: 1 -> 0
 net.inet.tcp.mss_ifmtu: 0 -> 1
 Starting network.
 Hostname: nozette.technoskunk.fur
 IPv6 mode: host
 Configuring network interfaces: le0 qe1ifconfig: exec_matches: Invalid argument
   qe2ifconfig: exec_matches: Invalid argument
   pppoe0ifconfig: exec_matches: Invalid argument
 .
 Adding interface aliases:.
 Enabling pf firewall.
 Adding static routes.
 Building databases: dev, utmp, utmpx.
 Starting syslogd.
 Starting rpcbind.
 Mounting all filesystems...
 Clearing temporary files.
 Creating a.out runtime link editor directory cache.
 Checking quotas: done.
 Setting securelevel: kern.securelevel: 0 -> 1
 swapctl: adding /swap as swap device at priority 0
 Starting virecover.
 Starting ifwatchd.
 Starting pflogd.
 Checking for core dump...
 savecore: no core dump (no dumpdev)
 Starting ftp_proxy.
 Starting local daemons:  Starting pfspamd.
 .
 Updating motd.
 Starting ntpd.
 Starting sshd.
 Starting cron.
 Thu Jun 14 00:30:34 CDT 2012
 
 NetBSD/sparc (nozette.technoskunk.fur) (ttya)
 
 login:
 
 
 Snippets from 'ktruss ifconfig qe2 dsl-local up':
 
    1915      1 ktruss   fcntl(0x4, 0x3, 0)          = 1, 3
    1915      1 ktruss   emul(netbsd)
    1915      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0, 4
 
    1915      1 ifconfig execve("/sbin/ifconfig", 0xefffec6c, 0xefffec84) 
JUSTRETURN
 
    1915      1 ifconfig open("/etc/hosts", 0x400000, 0x1b6) = 3, 4194304
    1915      1 ifconfig __fstat50(0x3, 0xefffc060)  = 0, -268451744
    1915      1 ifconfig read(0x3, 0x2031c000, 0x2000) = 959, 540131328
         "#\t$NetBSD: hosts,v 1.8 2009/07/03 22:32:55 hubertf Exp $\n#\n# Host "
    1915      1 ifconfig read(0x3, 0x2031c000, 0x2000) = 0, 540131328
         ""
    1915      1 ifconfig close(0x3)                  = 0, 1
    1915      1 ifconfig __socket30(0x2, 0x2, 0)     = 3, 2
    1915      1 ifconfig ioctl(0x3, SIOCGIFFLAGS, 0xefffe6e0) Err#22 EINVAL
         "qe2\0\0\0\0\0\b\0\0\0 00\^\\M-o\M^?\M-g\^X\0\^AF\M-4\M-o\M^?\M-g\\ 0?"
    1915      1 ifconfig write(0x2, 0xefffdf10, 0xa) = 10, -268443888
         "ifconfig: "
    1915      1 ifconfig write(0x2, 0xefffdf78, 0xc) = 12, -268443784
         "exec_matches"
    1915      1 ifconfig write(0x2, 0x201e3cd0, 0x2) = 2, 538852560
         ": "
    1915      1 ifconfig issetugid()                 = 0, 47
    1915      1 ifconfig issetugid()                 = 0, 10428
    1915      1 ifconfig open("/usr/share/nls/nls.alias.db", 0x400000, 
0xefffd8f4) Err#2 ENOENT
    1915      1 ifconfig open("/usr/share/nls/nls.alias", 0x400000, 0x201e1278) 
= 5, 4194304
    1915      1 ifconfig __fstat50(0x5, 0xefffdc78)  = 0, -268444552
    1915      1 ifconfig mmap(0, 0x5f0, 0x1, 0x2, 0x5, 0, 0, 0) = 0x2003d000
    1915      1 ifconfig close(0x5)                  = 0, 1520
    1915      1 ifconfig munmap(0x2003d000, 0x5f0)   = 0, 1520
    1915      1 ifconfig open("/usr/share/nls/C/libc.cat", 0, 0xefffddd4) = 5
    1915      1 ifconfig __fstat50(0x5, 0xefffdd48)  = 0, -268444344
    1915      1 ifconfig mmap(0, 0x10be, 0x1, 0x1, 0x5, 0, 0, 0) = 0x2003d000
    1915      1 ifconfig close(0x5)                  = 0, 4286
    1915      1 ifconfig munmap(0x2003d000, 0x10be)  = 0, 4286
    1915      1 ifconfig write(0x2, 0xefffdf10, 0x11) = 17, -268443888
         "Invalid argument\n"
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index