It works in 4.2. Thanks a lot for your help.
/Joaquin ---------- Forwarded message ---------- From: Joaquin Herrero <[EMAIL PROTECTED]> Date: 08-nov-2007 15:33 Subject: problems with D-LINK USB PCI Adapter on sparc64 To: misc@openbsd.org ?Anyone has any idea about this...? Thanks. Joaqumn. ------------------------------------------------------------ On Nov 5 joakinen wrote... Hi everybody, I'm having problems with usb disks on my Sun Ultra 10 desktop. Last week I bought a D-Link DU-520 5-Port USB 2.0 PCI Ada pter for this machine. OpenBSD detected it without problems, and detects all the hardware I plug in this card. The probl em is that only the "c" partition is shown in disklabel, so I cannot mount the disks, as no "i" partition shows up. I give here details about the problem and the dmesg of the machine. Any comments appreciated. When I plug an external USB disk this is what is logged on /var/log/messages: umass0 at uhub2 port 4 configuration 1 interface 0 umass0: Lacie Group. SA Lacie Mobile Drive, rev 2.00/0.01, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd0 at scsibus3 targ 1 lun 0: <SAMSUNG, MP0804H, 0000> SCSI0 0/direct fixed sd0: 76351MB, 76351 cyl, 64 head, 32 sec, 512 bytes/sec, 156368016 sec total This is the disklabel output for that disk: # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: MP0804H flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 76351 total sectors: 156368016 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize cpg] c: 156368016 0 unused 0 0 # Cyl 0 - 76351* disklabel: warning, partition c: size % cylinder-size != 0 There's no "i" partition, so I cannot mount it. Same happens with any usb disk I've tried. For example, this is the log for a usb flash disk: umass0 at uhub2 port 2 configuration 1 interface 0 umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd0 at scsibus3 targ 1 lun 0: <, USB Flash Memory, 1.00> SCSI2 0/direct removable sd0: 978MB, 978 cyl, 64 head, 32 sec, 512 bytes/sec, 2002944 sec total and this is the disklabel output: # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: USB Flash Memory flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 978 total sectors: 2002944 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize cpg] c: 2002944 0 unused 0 0 # Cyl 0 - 977 In this case there's no warning, but no sd0i partition. Here is the dmesg: console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org <http://www.openbsd.org/> OpenBSD 4.1 (GENERIC) #1099: Sat Mar 10 19:18:09 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC total memory = 1073741824 avail memory = 969736192 using 6553 buffers containing 53682176 bytes of memory bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED] ,1/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 440 MHz, version 0 FPU cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-3, PCI bus 0 psycho0: dvma map c0000000-dfffffff, iotdb 534c000-53cc000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ipl 37 "SUNW,pll" at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 42 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not configured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 08:00:20:fe:3f:6c nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GP" rev 0x5c wsdisplay0 at vgafb0 wsdisplay0: screen 0 added (std, sun emulation) pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7e0 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <ST320420A> wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW SH-S182D, SB05> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13 pci2 at ppb1 bus 2 ppb2 at pci2 dev 1 function 0 "DEC 21153 PCI-PCI" rev 0x04 pci3 at ppb2 bus 3 "Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01: ivec 0x7d1, address 08:00:20:f6:85:94 luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 1 function 0 not configured hme2 at pci3 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7d2, address 08:00:20:f6:85:95 luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 2 function 0 not configured hme3 at pci3 dev 2 function 1 "Sun HME" rev 0x01: ivec 0x7d3, address 08:00:20:f6:85:96 luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 3 function 0 not configured hme4 at pci3 dev 3 function 1 "Sun HME" rev 0x01: ivec 0x7d0, address 08:00:20:f6:85:97 luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1 siop0 at pci2 dev 2 function 0 "Symbios Logic 53c875" rev 0x14: ivec 0x7d4, using 4K of on-board RAM scsibus1 at siop0: 16 targets siop1 at pci2 dev 2 function 1 "Symbios Logic 53c875" rev 0x14: ivec 0x7d5, using 4K of on-board RAM scsibus2 at siop1: 16 targets ohci0 at pci2 dev 3 function 0 "NEC USB" rev 0x43: ivec 0x7d8, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci2 dev 3 function 1 "NEC USB" rev 0x43: ivec 0x7d9, version 1.0 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0 at pci2 dev 3 function 2 "NEC USB" rev 0x04: ivec 0x7da usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered creator0 at mainbus0 addr 0xfebc0000: Elite3D, model SUNW,XXX-XXXX, dac 0 wsdisplay1 at creator0: console (std, sun emulation), using wskbd0 pcons at mainbus0 not configured No counter-timer -- using %tick at 440MHz as system clock. root on wd0a rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02 Thanks. Joaquin Herrero -- Joaquin Herrero, jherrero@ perl -le '$_="=6<678428378>12376=2>:02;:19<5>:4"; tr[0->][DREAM.IT KOWSVC]; print'