Hi folks,
I have a XS-Drive Pro VP300 (Vosonic) here which runs fine as USB1
device, but completely screws up my system when pluggeg into a USB2 port.
I'm running
(%:~)- uname -a
FreeBSD arc.pmp.uni-hannover.de 5.3-STABLE FreeBSD 5.3-STABLE #2: Thu Dec
9 12:00:08 CET 2004
root@arc.pmp.uni-hannover.de:/usr/obj/usr/src/sys/ARC i386
My pci devices are
agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x07351039 rev=0x01
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS 735 Host-to-PCI Bridge'
class = bridge
subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x00011039 rev=0x00
hdr=0x01 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS 530 Virtual PCI-to-PCI bridge (AGP)'
class = bridge
subclass = PCI-PCI
isab0@pci0:2:0: class=0x060100 card=0x00000000 chip=0x00081039 rev=0x00
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS PCI to ISA Bridge (LPC Bridge)'
class = bridge
subclass = PCI-ISA
none0@pci0:2:2: class=0x0c0310 card=0x70011039 chip=0x70011039 rev=0x07
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class = serial bus
subclass = USB
none1@pci0:2:3: class=0x0c0310 card=0x70011039 chip=0x70011039 rev=0x07
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class = serial bus
subclass = USB
atapci0@pci0:2:5: class=0x010180 card=0x55131039 chip=0x55131039 rev=0xd0
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5513 EIDE Controller (A,B step)'
class = mass storage
subclass = ATA
pcm0@pci0:2:7: class=0x040100 card=0x030013f6 chip=0x70121039 rev=0xa0
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS7012 PCI Audio Accelerator'
class = multimedia
subclass = audio
sis0@pci0:3:0: class=0x020000 card=0x09001039 chip=0x09001039 rev=0x90
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS900 Fast Ethernet/Home Networking Ctrlr'
class = network
subclass = ethernet
ahc0@pci0:11:0: class=0x010000 card=0x78619004 chip=0x61789004 rev=0x03
hdr=0x00 vendor = 'Adaptec Inc'
device = 'AIC-7861 AHA-2940AU PCI SCSI Controller'
class = mass storage
subclass = SCSI
twe0@pci0:15:0: class=0x010400 card=0x100113c1 chip=0x100113c1 rev=0x01
hdr=0x00 vendor = '3ware Inc.'
device = '7000 series ATA-100 Storage Controller'
class = mass storage
subclass = RAID
uhci0@pci0:19:0: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x50
hdr=0x00 vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
uhci1@pci0:19:1: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x50
hdr=0x00 vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
ehci0@pci0:19:2: class=0x0c0320 card=0x12340925 chip=0x31041106 rev=0x51
hdr=0x00 vendor = 'VIA Technologies Inc'
device = 'VT6202 USB 2.0 Enhanced Host Controller'
class = serial bus
subclass = USB
none2@pci1:0:0: class=0x030000 card=0x4c431019 chip=0x59641002 rev=0x01
hdr=0x00 vendor = 'ATI Technologies Inc.'
device = 'Radeon 9200 Radeon 9200 SE Series'
class = display
subclass = VGA
none3@pci1:0:1: class=0x038000 card=0x4c421019 chip=0x5d441002 rev=0x01
hdr=0x00 vendor = 'ATI Technologies Inc.'
device = 'Radeon 9200 SE Series - Secondary (RV280)'
class = display
When booting and plugging in the device afterwards I see the following
messages:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #2: Thu Dec 9 12:00:08 CET 2004
root@arc.pmp.uni-hannover.de:/usr/obj/usr/src/sys/ARC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2400+ (1991.54-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x681 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 805240832 (767 MB)
avail memory = 778158080 (742 MB)
netsmb_dev: loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT SiS735XX> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 735 host to AGP bridge> mem 0xd0000000-0xd3ffffff at device 0.0
on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <serial bus, USB> at device 2.3 (no driver attached)
atapci0: <SiS 735 UDMA100 controller> port
0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0 ata1: channel #1 on atapci0
pcm0: <SiS 7012> port 0xd400-0xd43f,0xd800-0xd8ff irq 10 at device 2.7 on
pci0 pcm0: [GIANT-LOCKED]
pcm0: <C-Media Electronics CMI9738 AC97 Codec>
sis0: <SiS 900 10/100BaseTX> port 0xd000-0xd0ff mem 0xcffdd000-0xcffddfff
irq 5 at device 3.0 on pci0 miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0a:e6:ad:bb:b5
ahc0: <Adaptec 2940A Ultra SCSI adapter> port 0xdc00-0xdcff mem
0xcffff000-0xcfffffff irq 11 at device 11.0 on pci0 ahc0: [GIANT-LOCKED]
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port
0xcc00-0xcc0f mem 0xcf000000-0xcf7fffff irq 10 at device 15.0 on pci0 twe0:
[GIANT-LOCKED] twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X
1.08.00.048 uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11
at
device 19.0 on pci0 uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 11 at device
19.1
on pci0 uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xcfffce00-0xcfffceff irq 10 at
device 19.2 on pci0 ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
usb2: EHCI version 0.95
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <VIA VT6202 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model MouseMan+, device ID 0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6
drq 2 on acpi0 fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0 sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem
0xd2000-0xd9fff,0xd0800-0xd17ff,0xcc000-0xd07ff,0xc0000-0xcbfff on isa0
pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1991537838 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 29314MB <IBM-DTLA-307030/TX4OA50C> [59560/16/63] at ata0-master
UDMA100 acd0: CDROM <LG CD-ROM CRD-8521B/1.01> at ata1-slave PIO4
Waiting 5 seconds for SCSI devices to settle
twed0: <Unit 0, TwinStor, Normal> on twe0
twed0: 157065MB (321670912 sectors)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST52160N 0285> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15)
da0: 2069MB (4238282 512 byte sectors: 255H 63S/T 263C)
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <TEAC CD-R56S 1.0M> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 3 lun 0
da1: <FUJITSU MCE3130SS 0020> Removable Optical SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: Attempt to query device size failed: NOT READY, Medium not present
(da1:ahc0:0:3:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:ahc0:0:3:0): CAM Status: SCSI Status Error
(da1:ahc0:0:3:0): SCSI Status: Check Condition
(da1:ahc0:0:3:0): NOT READY asc:3a,0
(da1:ahc0:0:3:0): Medium not present
(da1:ahc0:0:3:0): Unretryable error
Opened disk da1 -> 6
(da1:ahc0:0:3:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:ahc0:0:3:0): CAM Status: SCSI Status Error
(da1:ahc0:0:3:0): SCSI Status: Check Condition
(da1:ahc0:0:3:0): NOT READY asc:3a,0
(da1:ahc0:0:3:0): Medium not present
(da1:ahc0:0:3:0): Unretryable error
Opened disk da1 -> 6
(da1:ahc0:0:3:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:ahc0:0:3:0): CAM Status: SCSI Status Error
(da1:ahc0:0:3:0): SCSI Status: Check Condition
(da1:ahc0:0:3:0): NOT READY asc:3a,0
(da1:ahc0:0:3:0): Medium not present
(da1:ahc0:0:3:0): Unretryable error
Opened disk da1 -> 6
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /local was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: superblock summary recomputed
WARNING: /local2 was not properly dismounted
WARNING: /backup was not properly dismounted
Don't load this driver from userland!!
WARNING: apm_saver module requires apm enabled
umass0: PNY USB, rev 2.00/1.00, addr 2
da2 at umass-sim0 bus 0 target 0 lun 0
da2: <USB USB 1.30> Removable Direct Access SCSI-0 device
da2: 1.000MB/s transfers
da2: 38204MB (78242976 512 byte sectors: 255H 63S/T 4870C)
umass0: Invalid CSW: tag 9 should be 10
usbdevs -v shows the following:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00 port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00 port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
VIA(0x0000), rev 1.00 port 1 powered
port 2 addr 2: high speed, power 350 mA, config 1, USB(0x1270),
PNY(0x0d7d), rev 1.00 port 3 powered
port 4 powered
Camcontrol devlist sees this:
<SEAGATE ST52160N 0285> at scbus0 target 0 lun 0 (pass0,da0)
<FUJITSU MCE3130SS 0020> at scbus0 target 3 lun 0 (pass1,da1)
<TEAC CD-R56S 1.0M> at scbus0 target 6 lun 0 (pass2,cd0)
<USB USB 1.30> at scbus1 target 0 lun 0 (da2,pass3)
<USB USB 1.30> at scbus1 target 0 lun 1 (probe0)
Somehow probing/attachment of the device doesn't succeed. In this state
also bgfsck is blocked (waiting for interrupts or whatever). When
unplugging the device I get the following kernel panic (handwritten):
fatal trap 12: page fault while in kernel mode
fault virtual address = 0x4c
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc04d3969
stack pointer = 0x10:0xdc6fcc20
frame pointer = 0x10:0xdc6fcc48
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL=0
current process = 21 (IRQ10: pcm twe0+)
trap number = 12
panic: page fault
Is there anything that can be done about this?
cu
Gerrit