Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Storage problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MrZammler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jun 2003
Posts: 128
Location: The Island of Crete

PostPosted: Thu May 27, 2004 9:40 am    Post subject: USB Storage problems Reply with quote

Hi ppl, I have the following problem.

I have an external USB drive, connected to one of my USB 2.0 ports.

When the disk is connected on boot, hotplug seg faults. When the disk is not connected, boot is succesful.

I added the usb-storage module in modules.autoload, to keep hotplug from loading it, and now the machine boots ok when the disk is plugged in. However, if I do a shutdown while the disk is mounted, the kernel seg faults again when unmounting local filesystems (umount fails).

I have an A7V600-X motherboard, and use a 2.6.6-love4 kernel. There are no such issues under gentoo-sources 2.4.25.

Anyone knows anything more on this?

Thanks,
MrZammler
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Thu May 27, 2004 5:43 pm    Post subject: Reply with quote

try some other source than love-sources - love sources isn't stable or predictable, so stop using it!
gentoo-development-sources are great.
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Thu May 27, 2004 7:06 pm    Post subject: Reply with quote

I have always autoloaded the module so I can't confirm the bootup thing, but I do have the same problem on shutdown with a usb flash drive. I'm also using 2.6.6-love4, and while a great kernel, it may, as furiorc said, be related to that. Or it may be related to the 2.6 headers, udev, over-aggressive CFLAGS, or any other number of crazy things I'm using ATM. however, I've wondered about doing a umount /dev/usbstick && modprobe -r usb-storage in local.stop, to try to work around it, but I haven't gotten to it yet, so let me know of any success you have. I'd also thought of re-compiling umount with sane CFLAGS, if your CFLAGS are also crazy, you might try that.

-Nate
Back to top
View user's profile Send private message
MrZammler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jun 2003
Posts: 128
Location: The Island of Crete

PostPosted: Fri May 28, 2004 10:57 am    Post subject: Reply with quote

furiorc wrote:
try some other source than love-sources - love sources isn't stable or predictable, so stop using it!
gentoo-development-sources are great.


The bootup problem is there with all the 2.6.x kernel's i've tried (mm-sources), and I think it is related to hotplug. I hadnt though noticed the shutdown one with other kernels, but that might be because I might never had the usb mounted at shutdown.

@Nate_S:

I was thinking the same thing (ie. putting umount in local.stop), will try this sometime tommorow and let you know. Thing is though, that my usb devices dont have specific mount points, but I think I can work around this.
Back to top
View user's profile Send private message
MrZammler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jun 2003
Posts: 128
Location: The Island of Crete

PostPosted: Sat Jun 12, 2004 2:19 pm    Post subject: Reply with quote

I've installed mm4 2.6.6, and although the bootup thing seems fixed, it still oops when unmounting at shutdown...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum