From: DrMemory on
David W. Hodgins wrote:
> On Tue, 20 Nov 2007 10:23:04 -0500, DrMemory <drmemory(a)3rivers.net> wrote:
>
> > It looks like the /sys structure isn't getting set up right, causing
> > later bootscripts to not see that there is any usb in place. I have no
> > idea where the /sys gets set up, someplace deep in the kernel? This
> > just has me baffled.
>
> /sys is setup by the kernel. This may be the problem. When you boot
> from a cd, or other linux system, mount and browse the root partition
> of the new installation, /sys should be empty. If you have copied
> directories into it, that may be preventing the kernel from setting
> them up.
>

I made sure not to copy either the /sys or the /proc, but just to
create those directories. Should I not even be creating the /sys
mountpoint??! I'll try removing it when I get home tonight, then
reboot. Grasping at straws....

Thanks,
scott.
From: David W. Hodgins on
On Tue, 20 Nov 2007 16:57:40 -0500, DrMemory <drmemory(a)3rivers.net> wrote:

> I made sure not to copy either the /sys or the /proc, but just to
> create those directories. Should I not even be creating the /sys
> mountpoint??! I'll try removing it when I get home tonight, then
> reboot. Grasping at straws....

No, the /sys and /proc directories must exist, to be used as mountpoints.

Is lspci showing your usb Controllers?

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
From: DrMemory on
David W. Hodgins wrote:
> On Tue, 20 Nov 2007 16:57:40 -0500, DrMemory <drmemory(a)3rivers.net> wrote:
>
> > I made sure not to copy either the /sys or the /proc, but just to
> > create those directories. Should I not even be creating the /sys
> > mountpoint??! I'll try removing it when I get home tonight, then
> > reboot. Grasping at straws....
>
> No, the /sys and /proc directories must exist, to be used as mountpoints.

Right... that's what I thought. [OT: A friend reported that, under
mandriva
2008, the /sys on his unmounted partition was minimally populated?
Seems strange....]

>
> Is lspci showing your usb Controllers?

Yes.

I tried adding "service usb start" in rc.sysinit right before udev is
started. It did load the usb modules, but there were *still* no
/dev/sd* devices created. So you plug in a thumb-drive, it lights up,
but no way to access it. Fortunately, it *seems* that the drive which
was showing the errors has settled down. May have just been too cold
from sitting out in the Montana weather, although I did let it warm up
for 12 hours after bringing it in to the house. I will keep this setup
intact in case anybody has an idea of what is going on, since this is
so strange.

Thanks,

Scott.
From: David W. Hodgins on
On Thu, 22 Nov 2007 10:40:25 -0500, DrMemory <drmemory(a)3rivers.net> wrote:

> I tried adding "service usb start" in rc.sysinit right before udev is
> started. It did load the usb modules, but there were *still* no
> /dev/sd* devices created. So you plug in a thumb-drive, it lights up,

Had to look back to your original post. 2006 is a very old version. :)
In 2008.0, there is no /etc/rc.d/init.d/usb. It's all handled by udev
and /etc/rc.d/rc.sysinit.

Anyway, try adding the usbcore, usb_storage, and scsi_mod to
/etc/modprobe.preload. Those are the modules used in 2008.0. I'm
assuming they were the same in 2006.

Also, try changing the udev logging in /etc/udev/udev.conf
to debug.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
From: DrMemory on
David W. Hodgins wrote:
>
> Had to look back to your original post. 2006 is a very old version. :)

Well, the machine this one is intended to replace is still running
7.1, so I guess age is a relative thing.... ;)

> In 2008.0, there is no /etc/rc.d/init.d/usb. It's all handled by udev
> and /etc/rc.d/rc.sysinit.

Yeah, that's how it is supposed to happen in 2006 too. Dunno why they
left the init.d/usb lying around.

>
> Anyway, try adding the usbcore, usb_storage, and scsi_mod to
> /etc/modprobe.preload. Those are the modules used in 2008.0. I'm
> assuming they were the same in 2006.
>
> Also, try changing the udev logging in /etc/udev/udev.conf
> to debug.

Okay, tried all of that, with no luck. I notice that it doesn't
mention "debug" in the udev.conf file comment, as it does in 2007 and
2008? Where would I be looking for debug output? I don't see any udev
lines in the log files I looked at: messages, syslog, all of the logs
under /var/log/daemons.... In fact an rgrep there found nothing for
udev on the buggy system.

Thanks,
Scott Swanson