DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3 Weeks Ago
Junkman Junkman is offline
New User
 
Join Date: Nov 2017
Posts: 2
Default network and USB stopping on /macppc

Hello all,

I have a problem with my little G4 Mac mini I am trying to use as a file server running NetBSD 7.1.

I am using a few large external USB drives plugged in to the mini. When I try rsync'ing the mini things go well for about an hour or 2 but then the machine will drop off the network. I thought it was freezing because no response on the console but then I realized its USB which as completely failed also. If something like 'top' or systat is left on the console it keeps updating. But there is no messages about USB un-attaching or other indications something is wrong.

When trying to troubleshoot I left 'ping -i 5 192.168.1.1' running on the console pinging itself(machine ip is 192.168.1.1).
When I noticed the rsync failing I went to the console and ping was still running but failing with "No buffer space available"

I tried rsync -–bwlimit down to half the speed and it still fails after awile.

Any idea's of what I should be looking for?

Code:
#netstat -m
170 mbufs in use:
        167 mbufs allocated to data
        3 mbufs allocated to packet headers
34 calls to protocol drain routines

# vmstat
 procs    memory      page                       disks   faults      cpu
 r b      avm    fre  flt  re  pi   po   fr   sr c0 w0   in   sy  cs us sy id
 1 0   646512   3172  445   3   0    0 1199 1237  0 51 4802    0 4022 7 16 77
Code:
# dmesg
 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Apple Computer Bluetooth HCI (HID-proxy mode), rev 2.00/15.86, addr 2, iclass 3/1
ums0 at uhidev1: 5 buttons
wsmouse0 at ums0 mux 0
umass0 at uhub4 port 1 configuration 1 interface 0
umass0: SABRENT SABRENT, rev 2.10/1.04, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <SABRENT, , 0104> disk fixed
sd0: fabricating a geometry
sd0: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors
sd0: fabricating a geometry
uhub5 at uhub4 port 4: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/85.36, addr 4
uhub5: single transaction translator
uhub5: 4 ports with 4 removable, self powered
uhidev2 at uhub5 port 1 configuration 1 interface 0
uhidev2: Primax HP USB Keyboard, rev 1.10/1.11, addr 5, iclass 3/1
ukbd1 at uhidev2
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub5 port 1 configuration 1 interface 1
uhidev3: Primax HP USB Keyboard, rev 1.10/1.11, addr 5, iclass 3/0
uhidev3: 2 report ids
uhid0 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 2: input=2, output=0, feature=0
umass1 at uhub5 port 4 configuration 1 interface 0
umass1: SABRENT SABRENT, rev 2.10/1.04, addr 6
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
umass2 at uhub3 port 2 configuration 1 interface 0
umass2: Western Digital My Passport 0810, rev 2.10/10.49, addr 7
umass2: using SCSI over Bulk-Only
scsibus2 at umass2: 2 targets, 2 luns per target
sd0: no NetBSD disk label
sd0: GPT GUID: e6dba7d0-bede-4e68-8a48-87f22fb35b60
dk0 at sd0: 500b
dk0: 976773101 blocks at 34, type: ffs
sd1 at scsibus1 target 0 lun 0: <SABRENT, , 0104> disk fixed
sd1: fabricating a geometry
sd1: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors
sd1: fabricating a geometry
sd1: no NetBSD disk label
sd1: GPT GUID: efaccb7d-abcb-40d6-a0db-2f91be0f6f5a
dk1 at sd1: 500a
dk1: 976773101 blocks at 34, type: ffs
sd2 at scsibus2 target 0 lun 0: <WD, My Passport 0810, 1049> disk fixed
sd2: fabricating a geometry
sd2: 931 GB, 953837 cyl, 64 head, 32 sec, 512 bytes/sect x 1953458176 sectors
sd2: fabricating a geometry
sd2: no NetBSD disk label
sd2: GPT GUID: 4a2525e3-747f-4ce7-8ee1-6f4a81097e3a
dk2 at sd2: 1T
dk2: 1953458109 blocks at 34, type: ffs
uk0 at scsibus2 target 0 lun 1: <WD, SES Device, 1049> enclosure services fixed
Kernelized RAIDframe activated
swwdog0: software watchdog initialized
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
proc: table is full - increase kern.maxproc or NPROC
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    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 7.1 (GENERIC.201703111743Z)
total memory = 1024 MB
oea_startup: failed to allocate DEAD ZONE: error=12
avail memory = 981 MB
kern.module.path=/stand/macppc/7.1/modules
timecounter: Timecounters tick every 10.000 msec
found openpic PIC at 80040000
OpenPIC Version 1.2: Supports 4 CPUs and 64 interrupt sources.
bootpath: /pci@f4000000/ata-6@d/disk@1:4,/netbsd
mainbus0 (root)
cpu0 at mainbus0: 7447A (Revision 1.2), ID 0 (primary)
cpu0: HID0 0x84d0c1bc<EMCP,EICE,DOZE,NAP,DPM,ICE,DCE,IFEM,SGE,BTIC,FBIOB,ABE,BHT>, powersave: 1
cpu0: 1416.67 MHz, 512KB L2 cache no parity parity enabled
memory0 at mainbus0: len=128
spdmem0 at memory0
spdmem0: DDR SDRAM, no parity or ECC, 1GB, 333MHz (PC-2700)
spdmem0: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
spdmem0: tAA-tRCD-tRP-tRAS: 1-3-3-7
spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
uni_n0 at mainbus0 address 0xf8000000
hw-clock at uni_n0 not configured
ki2c0 at uni_n0 address 0xf8001000
iic1 at ki2c0: I2C bus
cereal at ki2c0 address 0x1c0 not configured
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
radeonfb0 at pci0 dev 16 function 0found EDID property...
: ATI Technologies Radeon 9200 5962 (rev. 0x01)
radeonfb0: Video BIOS not present
radeonfb0: No video BIOS, using default clocks
radeonfb0: refclk = 27.000 MHz, refdiv = 12 minpll = 125000, maxpll = 400000
radeonfb0: 64 MB aperture at 0x98000000, 64 KB registers at 0x90000000
radeonfb0: display 0: initial virtual resolution 1280x1024 at 8 bpp
radeonfb0: using 32 MB per display
radeonfb0: port 0: physical 1280x1024 60Hz
radeonfb0: port 1: physical 1280x1024 60Hz
wsdisplay0 at radeonfb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at radeonfb0 not configured
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
bwi0 at pci1 dev 18 function 0: Broadcom Wireless
bwi0: interrupting at irq 52
bwi0: BBP id 0x4306, BBP rev 0x3, BBP pkg 0
bwi0: MAC: rev 5
bwi0: PHY type 2, rev 2, ver 2
bwi0: RF manu 0x17f, type 0x2050, rev 2
bwi0: invalid antenna gain in sprom
bwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
bwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0 irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at obio0 offset 0x10000: irq 30,1,2
pmu0 at obio0 offset 0x16000 irq 47:  rev. 85
pmu0: initializing IIC bus
pmu0: initializing RTC
pmu0: power-mgt not configured
pmu0: pmu-pwm-fans not configured
ki2c1 at obio0
iic2 at ki2c1: I2C bus
cereal at ki2c1 address 0x1c0 not configured
wdc0 at obio0 offset 0x20000 irq 24, level triggered: DMA transfer
atabus0 at wdc0 channel 0
snapper0: software codec
audio0 at snapper0: full duplex, playback, capture
ohci0 at pci1 dev 24 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
ohci0: memory access is disabled
ohci1 at pci1 dev 25 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
ohci1: memory access is disabled
ohci2 at pci1 dev 26 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
ohci2: interrupting at irq 29
ohci2: OHCI version 1.0, legacy support
usb0 at ohci2: USB revision 1.0
ohci3 at pci1 dev 27 function 0: NEC USB Host Controller (rev. 0x43)
ohci3: interrupting at irq 63
ohci3: OHCI version 1.0
usb1 at ohci3: USB revision 1.0
ohci4 at pci1 dev 27 function 1: NEC USB Host Controller (rev. 0x43)
ohci4: interrupting at irq 63
ohci4: OHCI version 1.0
usb2 at ohci4: USB revision 1.0
ehci0 at pci1 dev 27 function 2: NEC USB2 Host Controller (rev. 0x04)
ehci0: interrupting at irq 63
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci3 ohci4
usb3 at ehci0: USB revision 2.0
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc1 at pci2 dev 13 function 0: interrupting at irq 39
atabus1 at wdc1 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth Firewire (rev. 0x81)
fwohci0: interrupting at irq 40
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:14:51:ff:fe:0d:ba:68
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 4
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem0: Ethernet address 00:14:51:0d:ba:68, 10KB RX fifo, 4KB TX fifo
vmmask 731c0000 schedmask 7ffc0000 highmask 7ffc0000
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 41620907 Hz quality 100
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
uhub0 at usb0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2 at usb2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITACD-RW  CW-8121, , AA17> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at atabus1 drive 1
wd0: <WDC WD1200BEVE-00WZT0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
wd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhub4 at uhub3 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/85.36, addr 2
uhub4: single transaction translator
uhub4: 4 ports with 4 removable, self powered
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Apple Computer Bluetooth HCI (HID-proxy mode), rev 2.00/15.86, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Apple Computer Bluetooth HCI (HID-proxy mode), rev 2.00/15.86, addr 2, iclass 3/1
ums0 at uhidev1: 5 buttons
wsmouse0 at ums0 mux 0
umass0 at uhub4 port 1 configuration 1 interface 0
umass0: SABRENT SABRENT, rev 2.10/1.04, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <SABRENT, , 0104> disk fixed
sd0: fabricating a geometry
sd0: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors
sd0: fabricating a geometry
uhub5 at uhub4 port 4: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/85.36, addr 4
uhub5: single transaction translator
uhub5: 4 ports with 4 removable, self powered
uhidev2 at uhub5 port 1 configuration 1 interface 0
uhidev2: Primax HP USB Keyboard, rev 1.10/1.11, addr 5, iclass 3/1
ukbd1 at uhidev2
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub5 port 1 configuration 1 interface 1
uhidev3: Primax HP USB Keyboard, rev 1.10/1.11, addr 5, iclass 3/0
uhidev3: 2 report ids
uhid0 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 2: input=2, output=0, feature=0
umass1 at uhub5 port 4 configuration 1 interface 0
umass1: SABRENT SABRENT, rev 2.10/1.04, addr 6
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
umass2 at uhub3 port 2 configuration 1 interface 0
umass2: Western Digital My Passport 0810, rev 2.10/10.49, addr 7
umass2: using SCSI over Bulk-Only
scsibus2 at umass2: 2 targets, 2 luns per target
sd0: no NetBSD disk label
sd0: GPT GUID: e6dba7d0-bede-4e68-8a48-87f22fb35b60
dk0 at sd0: 500b
dk0: 976773101 blocks at 34, type: ffs
sd1 at scsibus1 target 0 lun 0: <SABRENT, , 0104> disk fixed
sd1: fabricating a geometry
sd1: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors
sd1: fabricating a geometry
sd1: no NetBSD disk label
sd1: GPT GUID: efaccb7d-abcb-40d6-a0db-2f91be0f6f5a
dk1 at sd1: 500a
dk1: 976773101 blocks at 34, type: ffs
sd2 at scsibus2 target 0 lun 0: <WD, My Passport 0810, 1049> disk fixed
sd2: fabricating a geometry
sd2: 931 GB, 953837 cyl, 64 head, 32 sec, 512 bytes/sect x 1953458176 sectors
sd2: fabricating a geometry
sd2: no NetBSD disk label
sd2: GPT GUID: 4a2525e3-747f-4ce7-8ee1-6f4a81097e3a
dk2 at sd2: 1T
dk2: 1953458109 blocks at 34, type: ffs
uk0 at scsibus2 target 0 lun 1: <WD, SES Device, 1049> enclosure services fixed
Kernelized RAIDframe activated
swwdog0: software watchdog initialized
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
Junkman Junkman is offline
New User
 
Join Date: Nov 2017
Posts: 2
Default

Well what ever was wrong is now fixed in 8.0BETA. rsynced 800+ gigs over the network to a USB drive and zero problems. Was also using samba to stream HD off a different drive on the same machine when it was doing that. A-OK.
Reply With Quote
Reply

Thread Tools
Display Modes

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
macppc - Powerbook 12" bceverly OpenBSD Installation and Upgrading 3 9th September 2015 12:14 AM
xombrero segfaults on OpenBSD -current macppc daemonfowl OpenBSD Packages and Ports 12 30th October 2013 10:19 PM
a bsd.rd upgrade issue for macppc daemonfowl OpenBSD Installation and Upgrading 9 26th July 2012 03:39 AM
macppc + radeon drm sigflup OpenBSD Installation and Upgrading 6 7th July 2010 10:12 PM
macppc firefox + gtk problems gosha OpenBSD Packages and Ports 7 29th September 2008 05:04 PM


All times are GMT. The time now is 08:26 PM.


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