Gentoo Archives: gentoo-user

From: Arran Fraser <afraser@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] trouble with USB memory
Date: Fri, 23 Sep 2005 14:34:29
Message-Id: 4334115E.7030805@w3internet.com
1 Greetings from Halifax, Nova Scotia!
2
3
4 I have a Memorex 1GB USB drive that I've used with my Gentoo systems
5 (home and work) quite happily for some time.
6
7 Until this week. I upgraded a number of packages, including my kernel
8 (gentoo 2.6.12 --> gentoo 2.6.13). After the reboot, no more /dev/sda1.
9
10 By the way, for the first time I used "make oldconfig" instead of "make
11 menuconfig"... was that a mistake?
12
13 I tried compiling various modules and so on, and eventually reverted to
14 my previous kernel. Only to find that it no longer worked there either!
15
16 Can anyone help me find what went wrong?
17
18 I'll be happy to post as much info as needed to help figure this out,
19 but I don't want to waste space -- so please ask me if there is anything
20 I need to post.
21
22 The drive is recognized by the USB drivers and even by the SCSI system,
23 but no /dev/sda1.
24
25
26 Thanks in advance,
27 --
28 Arran
29
30
31
32 # lspci | grep -i usb
33 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
34 1.1 Controller (rev 80)
35 0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
36 1.1 Controller (rev 80)
37 0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
38 1.1 Controller (rev 80)
39 0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
40
41
42 # lsmod
43
44 Module Size Used by
45 ehci_hcd 30664 0
46 uhci_hcd 30160 0
47 sd_mod 15120 0
48 vfat 11136 0
49 fat 47708 1 vfat
50 sg 24412 0
51 usb_storage 41348 0
52 usbcore 105532 4 ehci_hcd,uhci_hcd,usb_storage
53 via_rhine 17604 0
54
55
56
57 # tail -f /var/log/messages
58 (plug in drive)
59 Sep 23 11:23:12 sobe usb 4-3: new high speed USB device using ehci_hcd
60 and address 3
61 Sep 23 11:23:12 sobe usb-storage: USB Mass Storage device detected
62 Sep 23 11:23:12 sobe usb-storage: -- associate_dev
63 Sep 23 11:23:12 sobe usb-storage: Vendor: 0x08ec, Product: 0x0008,
64 Revision: 0x0100
65 Sep 23 11:23:12 sobe usb-storage: Interface Subclass: 0x06, Protocol: 0x50
66 Sep 23 11:23:12 sobe usb-storage: Transport: Bulk
67 Sep 23 11:23:12 sobe usb-storage: Protocol: Transparent SCSI
68 Sep 23 11:23:12 sobe usb-storage: usb_stor_control_msg: rq=fe rqtype=a1
69 value=0000 index=00 len=1
70 Sep 23 11:23:12 sobe usb-storage: GetMaxLUN command result is 1, data is 0
71 Sep 23 11:23:12 sobe scsi2 : SCSI emulation for USB Mass Storage devices
72 Sep 23 11:23:12 sobe usb-storage: *** thread sleeping.
73 Sep 23 11:23:12 sobe usb-storage: device found at 3
74 Sep 23 11:23:12 sobe usb-storage: waiting for device to settle before
75 scanning
76
77 (pause)
78 Sep 23 11:23:17 sobe usb-storage: queuecommand called
79 Sep 23 11:23:17 sobe usb-storage: *** thread awakened.
80 Sep 23 11:23:17 sobe usb-storage: Command INQUIRY (6 bytes)
81 Sep 23 11:23:17 sobe usb-storage: 12 00 00 00 24 00
82 Sep 23 11:23:17 sobe usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F
83 128 Trg 0 LUN 0 CL 6
84 <snip>
85 Sep 23 11:23:17 sobe usb-storage: scsi cmd done, result=0x0
86 Sep 23 11:23:17 sobe usb-storage: *** thread sleeping.
87 Sep 23 11:23:17 sobe Vendor: Memorex Model: TD 2C Rev: 1.04
88 Sep 23 11:23:17 sobe Type: Direct-Access ANSI
89 SCSI revision: 00
90 Sep 23 11:23:17 sobe usb-storage: queuecommand called
91 Sep 23 11:23:17 sobe usb-storage: *** thread awakened.
92 Sep 23 11:23:17 sobe usb-storage: Command TEST_UNIT_READY (6 bytes)
93 <snip>
94 Sep 23 11:23:17 sobe usb-storage: Command READ_CAPACITY (10 bytes)
95 <snip>
96 Sep 23 11:23:17 sobe usb-storage: Command MODE_SENSE (6 bytes)
97 <snip>
98 Sep 23 11:23:17 sobe sda: Write Protect is off
99 Sep 23 11:23:17 sobe sda: Mode Sense: 23 00 00 00
100 Sep 23 11:23:17 sobe sda: assuming drive cache: write through
101 <snip>
102 Sep 23 11:23:17 sobe sda1
103 Sep 23 11:23:17 sobe Attached scsi removable disk sda at scsi2, channel
104 0, id 0, lun 0
105 Sep 23 11:23:17 sobe Attached scsi generic sg0 at scsi2, channel 0, id
106 0, lun 0, type 0
107 Sep 23 11:23:17 sobe usb-storage: queuecommand called
108 Sep 23 11:23:17 sobe usb-storage: *** thread awakened.
109 Sep 23 11:23:17 sobe usb-storage: Bad LUN (0:1)
110 Sep 23 11:23:17 sobe usb-storage: scsi cmd done, result=0x40000
111 Sep 23 11:23:17 sobe usb-storage: *** thread sleeping.
112 Sep 23 11:23:17 sobe usb-storage: queuecommand called
113 Sep 23 11:23:17 sobe usb-storage: *** thread awakened.
114 Sep 23 11:23:17 sobe usb-storage: Bad target number (1:0)
115 (the above 5 lines repeat from target (1:0 through 7:0)
116
117
118 # fdisk -l
119
120 Disk /dev/hda: 40.0 GB, 40020664320 bytes
121 Disk /dev/hdb: 40.0 GB, 40020664320 bytes
122 Disk /dev/hdc: 9237 MB, 9237086208 bytes
123 (no sda!)
124
125 --
126 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] trouble with USB memory Neil Bothwick <neil@××××××××××.uk>