Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 08:50:33 +0300
From:      Alexei Khalimov <lesha@ns.divo.ru>
To:        freebsd-questions@freebsd.org
Subject:   weird USB mass storage problems
Message-ID:  <200403150850.33632.lesha@ns.divo.ru>

next in thread | raw e-mail | index | archive | help
Hello, all!


Got external USB2 disk 80Gb drive, which is detected as:

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x10a0-0x10bf irq 9
at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on
uhci0 usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2
ports with 2 removable, self powered

umass0: vendor 0x0840 USB 2.0 Storage Device, rev 2.00/0.01, addr 2
GEOM: create disk da0 dp=0xc26de450
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB 2.0 Storage Device 0100> Fixed Direct Access SCSI-0 device 
da0: 1.000MB/s transfers
da0: 78533MB (160836480 512 byte sectors: 255H 63S/T 10011C)

(USB port on this laptop is USB 1.1)

The drive is formatted as FAT32 filesystem.
First of all it takes about 15 secounds to mount it. Is it normal?

And every 1 of 3 attempts, after mounting it and doing cd /mnt/usb
(mount point for it)

system panics with following output:

 panic: uhci_abort_xfer: not in process context
 
 syncing disks, buffers remaining... 1794 1794 1794 1794 1794 
 1794 1794 1794 1794 1794 1794 1794 1794 1794 1794 1794 (null): BBB reset
 failed, STALLED
 (null): BBB bulk-in clear stall failed, STALLED 
 uhub0: device problem, disabling port 1
 
 
 Fatal trap 12: page fault while in kernel mode fault virtual address =
 0x1c
 fault code            = supervisor read, page not present instruction
 pointer   = 0x8:0xc04d7072 stack pointer         = 0x10:0xcb628c90 frame
 pointer         = 0x10:0xcb628c9c 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               = 20 (irq9: fxp0 ltmdm0++) trap number           =
 12
 panic: page fault
 Uptime: 19m15s
 
[SNIP]
(Repeated several times with different stack pointer)
 
 Fatal double fault:
 eip = 0xc0680713
 esp = 0xcb627000
 ebp = 0xcb627014
 panic: double fault
 Uptime: 19m16s
 kernel trap 12 with interrupts disabled
 
 
 Fatal trap 12: page fault while in kernel mode fault virtual address =
 0x29c
 fault code            = supervisor read, page not present instruction
 pointer   = 0x8:0x29c
 stack pointer         = 0x10:0xc0733878 frame pointer         =
 0x10:0xc0733890 code segment          = base 0x0, limit 0xfffff, type
 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
 processor eflags      = nested task, resume, IOPL = 0 current process
           = 20 (irq9: fxp0 ltmdm0++) trap number           = 12
 panic: page fault
 Uptime: 19m16s
 kernel trap 12 with interrupts disabled

[SNIP]
(repeats several more times)


System is FreeBSD 5.2.1-release


Cheers,
          ALex.
sunbug(AT)ns.divo.ru


-- 
My PGP public key is avaible at:
http://www.divo.ru/~lesha/4A2620A5.key



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403150850.33632.lesha>