Re: [gentoo-user] confused udev?

2005-11-23 Thread Jorge Almeida
On Tue, 22 Nov 2005, Richard Fish wrote: Ok, do dmesg and /proc/partitions agree that there is a partition there? If not, then the problem is that the kernel is not recognizing No... your partition table. I would suggest: insert the key dd if=/dev/zero of=/dev/sda bs=512 count=1 remove

Re: [gentoo-user] confused udev?

2005-11-23 Thread Richard Fish
On 11/23/05, Jorge Almeida [EMAIL PROTECTED] wrote: this time. This is just totally unreliable. I guess I'll boot from KNOPPIX, to see whether it may be a kernel problem... Yes, do that. And if it works I guess you will need to start comparing the Knoppix kernel configuration to yours. Maybe

Re: [gentoo-user] confused udev?

2005-11-23 Thread Jorge Almeida
On Wed, 23 Nov 2005, Richard Fish wrote: On 11/23/05, Jorge Almeida [EMAIL PROTECTED] wrote: this time. This is just totally unreliable. I guess I'll boot from KNOPPIX, to see whether it may be a kernel problem... Yes, do that. And if it works I guess you will need to start comparing

Re: [gentoo-user] confused udev?

2005-11-22 Thread Richard Fish
On 11/22/05, Jorge Almeida [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~ $ fdisk -l /dev/plextor_memstick Disk /dev/plextor_memstick: 1050 MB, 1050934784 bytes 129 heads, 19 sectors/track, 837 cylinders Units = cylinders of 2451 * 512 = 1254912 bytes

Re: [gentoo-user] confused udev?

2005-11-21 Thread Richard Fish
On 11/20/05, Jorge Almeida [EMAIL PROTECTED] wrote: On Sat, 19 Nov 2005, Richard Fish wrote: According to the dmesg output you posted earlier, your memory stick is not partitioned. This is ok, some are, some are not. You can confirm this by taking a look at /proc/partitions when it is

Re: [gentoo-user] confused udev?

2005-11-20 Thread Jorge Almeida
On Sat, 19 Nov 2005, Richard Fish wrote: According to the dmesg output you posted earlier, your memory stick is not partitioned. This is ok, some are, some are not. You can confirm this by taking a look at /proc/partitions when it is inserted, or the output of fdisk -l. So, only getting

Re: [gentoo-user] confused udev?

2005-11-19 Thread Richard Fish
On 11/18/05, Jorge Almeida [EMAIL PROTECTED] wrote: I already set RC_DEVICE_TARBALL=no, following Richards' suggestion. I didn't boot from a CD and cleaned /dev yet, but I'll give it a try. Meanwhile, I upgraded the kernel and added a config option (for firewire) that was missing (for

Re: [gentoo-user] confused udev?

2005-11-18 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote: I'm not sure what the problem could be then. Maybe something in your kernel configuration. Could you post the output of: grep =[ym] /usr/src/linux/.config CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y

Re: [gentoo-user] confused udev?

2005-11-18 Thread Jorge Almeida
On Fri, 18 Nov 2005, Dirk Heinrichs wrote: Am Donnerstag, 17. November 2005 17:19 schrieb ext Jorge Almeida: Did it. Upon reboot, I had /dev/external_hd and /dev/external_hd1, but only /dev/plextor_memstick (i.e., no mountable /dev/plextor_memstick1). I unplugged the stick and turned off

Re: [gentoo-user] confused udev?

2005-11-18 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 15:14 schrieb ext Jorge Almeida: Hmm, this is strange. Did you check if /dev/sdb is really there? I currently /dev/sdb and /dev/sdb1 exist, but don't seem to be much help. $ ls /dev|grep sdb sdb sdb1 sdb10 sdb11

Re: [gentoo-user] confused udev?

2005-11-18 Thread Neil Bothwick
On Fri, 18 Nov 2005 11:21:47 +0100, Dirk Heinrichs wrote: Did you read my former reply to Richards mail about setting RC_DEVICE_TARBALL=no (booting a LiveCD and clean up /dev)? You don't need to use a live CD for this. Do mount --bind / /mnt and the original static /dev/ directory will be

Re: [gentoo-user] confused udev?

2005-11-18 Thread Jorge Almeida
On Fri, 18 Nov 2005, Dirk Heinrichs wrote: $ mount -t vfat /dev/sdb1 /mnt/pen mount: /dev/sdb1: can't read superblock This looks like artifacts from an old, static /dev (RC_DEVICE_TARBALL=yes in /etc/conf.d/rc ?). With udev, you should only see sdb and exactly one sdbX for each

Re: [gentoo-user] confused udev?

2005-11-18 Thread Dirk Heinrichs
Am Freitag, 18. November 2005 11:29 schrieb ext Neil Bothwick: On Fri, 18 Nov 2005 11:21:47 +0100, Dirk Heinrichs wrote: Did you read my former reply to Richards mail about setting RC_DEVICE_TARBALL=no (booting a LiveCD and clean up /dev)? You don't need to use a live CD for this. Do

[gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
I have a USB memory stick and an external USB box with an IDE disk. I configured udev to assign device names to both items, or so I thought. The external box is plugged, the memory stick isn't. The problem is: the device for the box is not created, and the memstick device exists but represents the

Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 10:26 schrieb ext Jorge Almeida: I have a USB memory stick and an external USB box with an IDE disk. I configured udev to assign device names to both items, or so I thought. The external box is plugged, the memory stick isn't. The problem is: the device for

Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Dirk Heinrichs wrote: Am Donnerstag, 17. November 2005 10:26 schrieb ext Jorge Almeida: I have a USB memory stick and an external USB box with an IDE disk. I configured udev to assign device names to both items, or so I thought. The external box is plugged, the

Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 13:43 schrieb ext Jorge Almeida: CONFIG_USB_STORAGE=y (...) Did you also enable the sub options? # SCSI device support # CONFIG_SCSI=y CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM)

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: $ cat /etc/udev/rules.d/40-my.rules BUS=scsi, SYSFS{vendor}=PLEXTOR , SYSFS_model=PlexFlash-2*, NAME=plextor_memstick%n BUS=scsi, SYSFS{vendor}=Maxtor 6 , SYSFS_model=L250R0*, NAME=external_hd%n

Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Dirk Heinrichs wrote: Am Donnerstag, 17. November 2005 13:43 schrieb ext Jorge Almeida: CONFIG_USB_STORAGE=y (...) Did you also enable the sub options? No, since none appeared to have much to do with my devices. usb 1-7: new high speed USB device

Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote: On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: $ cat /etc/udev/rules.d/40-my.rules BUS=scsi, SYSFS{vendor}=PLEXTOR , SYSFS_model=PlexFlash-2*, NAME=plextor_memstick%n BUS=scsi, SYSFS{vendor}=Maxtor 6 ,

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: So much for the rules in http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html#hotplug ... Yes, it is terribly out of date, being written when udev was at version 016!! That is s last month! :-

Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote: Can you post your current rules. Also, don't forget Dirk's suggestion regarding BUS==usb instead of scsi. You could use the SYMLINK target instead of changing the name. Something like: BUS==usb ... NAME=%k, SYMLINK=plextor_memstick%n This

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: On Thu, 17 Nov 2005, Richard Fish wrote: Can you post your current rules. Also, don't forget Dirk's suggestion regarding BUS==usb instead of scsi. You could use the SYMLINK target instead of changing the name. Something like:

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: On Thu, 17 Nov 2005, Richard Fish wrote: Hmm, looks ok. Could you set udev_log=7 in /etc/udev/udev.conf, and post the entries that are added to /var/log/messages when you turn on the hard drive. $ tail -F /var/log/kernel/current Nov

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: On Thu, 17 Nov 2005, Richard Fish wrote: important. If you have USB and the other drivers built as modules, reload them and try again. If they are built into your kernel, reboot. This is Chaos. On reboot, /dev/external_hd and

Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote: Hmm, do you RC_DEVICE_TARBALL set in /etc/conf.d/rc? That would cause something like this, and I recommend setting it to no for a pure udev setup. Yes, it was there since the time it was recommended. I changed it and rebooted. The memstick nodes are

Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote: Your USB bus is really not working right! Are these devices connected directly to ports on the PC, or going through a hub? If there is a hub, maybe it is broken... No hub. I changed the usb port the case is connected to and no

Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 17:19 schrieb ext Jorge Almeida: Did it. Upon reboot, I had /dev/external_hd and /dev/external_hd1, but only /dev/plextor_memstick (i.e., no mountable /dev/plextor_memstick1). I unplugged the stick and turned off the HD case. I plugged back the stick. Now

Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 22:11 schrieb ext Richard Fish: Hmm, do you RC_DEVICE_TARBALL set in /etc/conf.d/rc? That would cause something like this, and I recommend setting it to no for a pure udev setup. Then boot into LiveCD, mount your systems root fs (i.e. to /mnt) and delete