Error: No more USB Storage Devices [Solved]

YDL running on the Sony Playstation 3

Moderator: billb

Error: No more USB Storage Devices [Solved]

Postby Firestorm2004 » 19 Jul 2011, 04:24

I recently installed GParted from the ps3bodega repo and was looking at it, trying to understand how it worked. I DID NOT MAKE ANY CHANGES, I know that for sure, but for some reason, while it was refreshing the device list, GParted crashed, and eventually, I had to terminate it. After it shut down, something was left in memory, using 172MB of 210MB of physical memory.

KDE was extremely slow to respond, so I tried rebooting. It went through the process of shutting down, but at the end, when it reaches the part of unregistering the usb ports, it came up with an error, saying something along the lines of "signal not understood." I don't remember the exact wording, and I haven't been able to recreate it.

Now, whenever I boot up YDL 6.1, no USB storage device I connect, or already have connected, shows up. I can't mount anything. The ps3 built-in memorystick card reader is the same.

My keyboard/mouse work fine, but for some reason, I can't add any storage devices. I would reinstall, but there are things I want that are on the drive, but I can't pull them off. Help please?!

-Firestorm2004
Last edited by Firestorm2004 on 20 Jul 2011, 19:58, edited 1 time in total.
Firestorm2004
ydl newbie
ydl newbie
 
Posts: 6
Joined: 02 Nov 2010, 00:47

Re: Error: No more USB Storage Devices after GParted Crashed

Postby ppietro » 19 Jul 2011, 22:21

Firestorm2004 wrote:Now, whenever I boot up YDL 6.1, no USB storage device I connect, or already have connected, shows up. I can't mount anything. The ps3 built-in memorystick card reader is the same.


Hmmm - that's very odd.

I'd like to try something simple first to help troubleshoot your issue. If you get a chance, could you try reloading your Linux OtherOS firmware again? That is, reloading the otheros.bld file that you installed from the PS3 Game XMB. A copy of this otheros.bld should be on your YDL install DVD.

Reloading the otheros.bld helps us rule out some simple issues before we start digging into deeper issues.

As far as PS3 architecture goes, the symptoms you're describing would be an issue with USB subsystem. The memory stick card reader is connected to the internal USB bus. (Link to a discussion of the USB structure here: viewtopic.php?f=19&t=2839&p=10273#p10273 )

If the troubleshooting step I suggested above doesn't work, we may need to check your USB driver and setup. That's a kernel mode driver, IIRC.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Error: No more USB Storage Devices after GParted Crashed

Postby Firestorm2004 » 20 Jul 2011, 02:45

Okay, after I posted this request, I did some more research, and found out some interesting information. The USB connection, itself, is okay. In fact, the kernel is recognizing the drive, and actually assigning it positions in the "/dev/" area.

Code: Select all
[root@localhost ~]# tail -f /var/log/messages -n 25
Jul 15 08:52:39 localhost kernel: usb 3-2.2: new high speed USB device using ps3-ehci-driver and address 8
Jul 15 08:52:40 localhost kernel: usb 3-2.2: configuration #1 chosen from 1 choice
Jul 15 08:52:40 localhost kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Jul 15 08:52:45 localhost kernel: scsi 8:0:0:0: Direct-Access     WD       My Passport 0730 1015 PQ: 0 ANSI: 6
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] 1953458176 512-byte hardware sectors (1000171 MB)
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] Write Protect is off
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] Assuming drive cache: write through
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] 1953458176 512-byte hardware sectors (1000171 MB)
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] Write Protect is off
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] Assuming drive cache: write through
Jul 15 08:52:46 localhost kernel:  sdd: sdd1 sdd2
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: [sdd] Attached SCSI disk
Jul 15 08:52:46 localhost kernel: sd 8:0:0:0: Attached scsi generic sg3 type 0
Jul 15 08:52:46 localhost kernel: scsi 8:0:0:1: Enclosure         WD       SES Device       1015 PQ: 0 ANSI: 6
Jul 15 08:52:46 localhost kernel: scsi 8:0:0:1: Attached scsi generic sg4 type 13


As you can see, the kernel recognized it. And, fdisk (using the 'su -l' login) shows it.

Code: Select all

[root@localhost ~]# fdisk -l

Disk /dev/ps3da: 107.1 GB, 107149209600 bytes
255 heads, 63 sectors/track, 13026 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

     Device Boot      Start         End      Blocks   Id  System
/dev/ps3da1   *           1          13      104391   83  Linux
/dev/ps3da2              14         274     2096482+  82  Linux swap / Solaris
/dev/ps3da3             275       13026   102430440   83  Linux

Disk /dev/sdd: 1000.1 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      117488   943722328+   b  W95 FAT32
/dev/sdd2          117489      121597    33005542+   7  HPFS/NTFS
[root@localhost ~]# 


I can mount the drives manually.

Code: Select all
mount -t vfat /dev/sdd1 /mnt
mount -t ntfs-3g /dev/sdd2 /media


But, no matter what, the KDE Daemon isn't recognizing the new media. I tried replacing several of the KDE parts using, "rpm -ivhf --force kde*" while in the "YellowDog" folder on the YDL 6.1 installation DVD but, it hasn't been fixed. I even went as far as to remove the "gnome-desktop" and "gnome-utils" rpms, and the 24 others that are depended on them, for I read that sometimes Gnome will refuse to give up resources even when it isn't running. I run KDE exclusively, so it wasn't a problem.

Any thoughts?

-Firestorm2004
Firestorm2004
ydl newbie
ydl newbie
 
Posts: 6
Joined: 02 Nov 2010, 00:47

Re: Error: No more USB Storage Devices after GParted Crashed

Postby Iguana » 20 Jul 2011, 05:18

Firestorm2004 wrote:Okay, after I posted this request, I did some more research, and found out some interesting information.

and yet, you still haven't tried this...
I'd like to try something simple first to help troubleshoot your issue. If you get a chance, could you try reloading your Linux OtherOS firmware again? That is, reloading the otheros.bld file that you installed from the PS3 Game XMB. A copy of this otheros.bld should be on your YDL install DVD.
PS3 CECHLO1
GNOME Desktop
Yellowdog Linux 6.2
ihome keyboard
ihome gaming mouse (red)
Iguana
ydl addict
ydl addict
 
Posts: 121
Joined: 01 Apr 2010, 22:49
Location: Florida

Re: Error: No more USB Storage Devices after GParted Crashed

Postby Firestorm2004 » 20 Jul 2011, 09:32

I'm sorry, I forgot to mention I did that. I redownloaded petitboot, v0.2, and nothing chaned. Correct me if I'm wrong, but all the OtherOS does is boot the ps3 enough to hand it over to the linux booting process. It doesn't ever deal with the usb ports. Plus, my linux kernel is recognizing my drive. KDE Daemon isn't informing me about it as new media.

Still, I appreciate any feedback.

-Firestorm2004
Firestorm2004
ydl newbie
ydl newbie
 
Posts: 6
Joined: 02 Nov 2010, 00:47

Re: Error: No more USB Storage Devices after GParted Crashed

Postby ppietro » 20 Jul 2011, 19:11

Firestorm2004 wrote:I'm sorry, I forgot to mention I did that. I redownloaded petitboot, v0.2, and nothing changed. Correct me if I'm wrong, but all the OtherOS does is boot the ps3 enough to hand it over to the linux booting process. It doesn't ever deal with the usb ports.


Not exactly - no. It's my understanding that the OtherOS includes some USB drivers for initial booting - according to the Petitboot page, it uses OpenWRT, which I think can mount USB drives. I might be wrong though - hence why it was a tentative first step. :D

Basically, I wanted to make sure that the firmware wasn't messing up the USB ports somehow. This isn't a problem with the launch PS3s because OtherOS sits completely in non-volatile memory, but could (remotely) be an issue with later phat PS3s that put their firmware on the hard disk. I just wanted to rule out the (remote) possibility that gparted had corrupted the firmware boot sectors on the hard disk.

But - it doesn't matter because:

Firestorm2004 wrote:Plus, my linux kernel is recognizing my drive. KDE Daemon isn't informing me about it as new media.


So - I concur with your theory that it's a KDE issue. Unfortunately, I don't use KDE very often, so I'm not sure what to do next.

It's kinda too bad you removed the Gnome RPMs. I was thinking it might be useful if you temporarily switched to Gnome and verified that USB worked correctly there. That might have helped us narrow it down a little further.

UPDATE: Hey - I found this on a Gentoo forum:

GParted currently writes a hal policy file ("/usr/share/hal/fdi/policy/gparted-disable-automount.fdi") when started, which prevents mobile disks from being mounted while GParted is running. When GParted doesn't exit cleanly, this file isn't removed, stopping the system from automounting any device.


More here:
http://forums.gentoo.org/viewtopic-t-67 ... art-0.html

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Error: No more USB Storage Devices after GParted Crashed

Postby Firestorm2004 » 20 Jul 2011, 19:55

I feel really stupid now. I had run across what you mentioned, and removed the file, but nothing happened, so I went on, thinking it was something else. When I saw your post, I checked again, and sure enough, it was still there. So, I deleted it, and REBOOTED immediately. And what do you know, it works! Thanks for your help. I don't know if I ever would've found the solution, since I ignored it.

-Firestorm2004
Firestorm2004
ydl newbie
ydl newbie
 
Posts: 6
Joined: 02 Nov 2010, 00:47


Return to Playstation 3

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron