Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2668 - udev on fresh installed arch 0.7 (scsi) creates no devfs compatible dev nodes

Attached to Project: Arch Linux
Opened by Pink Chick (Pink Chick) - Wednesday, 27 April 2005, 17:13 GMT
Task Type Bug Report
Category Installation
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Critical
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I installed arch on several computers, most of them where using scsi hds. If you just add devfs=nomount to the kernel line in the grub menu.lst, and think things are doing well, you will be surprised.
Allthoug grub will understand the line 'kernel /boot/vmlinuz26 root=/dev/discs/disc0/part1 ro quiet splash devfs=nomount vga=792' without any problem, I noticed mounting of disks will faile if you don't change the fstab entries into static naming scheme. Confusing.

The following fstab line won't work:
'/dev/discs/disc0/part1 / jfs defaults 0 1'

but this ones does:
'/dev/sda1 / jfs defaults 0 1'.

Needless to mention, no /dev/discs nodes are created for scsi hds.
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 27 May 2005, 18:14 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Friday, 29 April 2005, 16:36 GMT
Do you have this problem with both 2.6 kernels (IDE and SCSI) or just the SCSI one?
Comment by Pink Chick (Pink Chick) - Saturday, 30 April 2005, 15:32 GMT
Pardon, on SCSI only. Whenever I installed arch on ide systems, I had no problems switching to udev. Whenever I try on scsi, I have.
Comment by ... (spider007) - Wednesday, 04 May 2005, 14:09 GMT
Same prolbem here. I will try to see if I can get this fixed
Comment by Judd Vinet (judd) - Thursday, 12 May 2005, 18:34 GMT
I've checked on a test box, and kernel26-scsi works fine for me with devfs-style paths in my fstab.

Do either of you have custom udev rules which may be interfering?
Comment by Alec Thomas (alecthomas) - Friday, 13 May 2005, 02:17 GMT
Not too surprisingly, I have the same problem with SATA drives which appear under as SCSI devices.
Comment by Pink Chick (Pink Chick) - Friday, 13 May 2005, 12:17 GMT
I don't customize or import customized udev rules during installation of arch, so my installed system is clean, fresh and simply up to date, not customized at all beneath the few things one has to customize during installation, like network setup and grub. Udev is untouched, Devfs is just commented out not to be choosen during boot (devfs=nomount).
Comment by Dale Blount (dale) - Wednesday, 18 May 2005, 15:50 GMT
Judd, I'd venture to say it's not the kernel but the scsi-devfs.sh udev rule that isn't working here. I've seen this happen on scsi, sata, and scsi-usb-storage devices.
Comment by Rafal Szczepaniak (lanrat) - Wednesday, 18 May 2005, 23:06 GMT
It's not working because it's not used ?
grep scsi-devfs /etc/udev/rules.d/*
returns nothing.
Comment by Dale Blount (dale) - Thursday, 19 May 2005, 12:13 GMT
good catch!
Comment by Pink Chick (Pink Chick) - Thursday, 19 May 2005, 19:09 GMT
So how come it worked on Judd's test box?
Comment by Dale Blount (dale) - Thursday, 19 May 2005, 19:12 GMT
I think Judd meant he tried kernel26-scsi on an IDE test box and it worked, which it should have if Rafal's theory is correct.
Comment by Pink Chick (Pink Chick) - Friday, 20 May 2005, 20:08 GMT
Like I posted on Saturday, 30 Apr 2005, 11:32am. IDE works.
Comment by Judd Vinet (judd) - Friday, 20 May 2005, 21:28 GMT
Alright. Somebody with some SCSI drives, please help me test.

Add this rule to your udev.rules, near the "# ide block devices" comment.

# scsi block devices
BUS="scsi", KERNEL="sd*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", SYMLINK="%c{1} %c{2}"
Comment by Dale Blount (dale) - Saturday, 21 May 2005, 17:30 GMT
This didn't fix it for me... no /dev/discs directory is created. SATA using SCSI style drivers.
Comment by Pink Chick (Pink Chick) - Sunday, 22 May 2005, 06:23 GMT
Tried it, but no results here. Seems this changed nothing.
Comment by Rafal Szczepaniak (lanrat) - Sunday, 22 May 2005, 11:53 GMT
I think this should be:

BUS="scsi", KERNEL="sd*", PROGRAM="/etc/udev/scsi-devfs.sh sd %b %n", SYMLINK="%c{1} %c{2}"

Replace "%k" with "sd". %k returns the full name of a kernel device but scsi-devfs.sh expects "sd" parameter only - no numbers etc. (check the sources - it's used in the first "case")
Comment by Judd Vinet (judd) - Friday, 27 May 2005, 04:20 GMT
Please try the udev package in testing.

# pacman -U ftp://ftp.archlinux.org/testing/os/i686/udev-058-1.pkg.tar.gz
Comment by Dale Blount (dale) - Friday, 27 May 2005, 12:04 GMT
confirmed working on scsi-style-sata and real-scsi systems. The real scsi system also has ide drives and those show up in same order as before (a good thingTM).
Comment by Pink Chick (Pink Chick) - Friday, 27 May 2005, 17:08 GMT
Works, but fixes nothing. Still no /dev/discs/... here.
Comment by Pink Chick (Pink Chick) - Friday, 27 May 2005, 17:09 GMT
Correct me: works AND fixes, fine! :)
Comment by Judd Vinet (judd) - Friday, 27 May 2005, 18:14 GMT
Great. i'll move udev out of testing soon.

Thanks for the help everyone.

Loading...