[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-2.6.x, udev and scsi hard-disk





Thomas Walter wrote:
Hello,

On Fri, 2006-11-10 at 15:57, Mark Paulus wrote:
Thomas Walter wrote:
Hello All,

is there someone who can give me a hint how to access
a scsi harddisk (several pertitions sda1, ..., sda14) via udev?

Until now I have investigated in searching and reading some docs and
code about udev, especially the rules (persistent.rule, ...).
Comparing the code for hda drives and sda drives looks very similar.
The partions of the sda drive should be visible.

Then I looked / grepped through the '/sys' directory which is read by
the udev tools.  It seems from my point of view that the issue is
located here.  There are no entries for the sda partitions similar to
the entries for a hda drive.

Any hint to step forward is welcome.

I also thaught to raise a bug in the Debian BTS, but how to do that from
a woody-distribution versus sarge/sid?

Kind Regards,
Thomas




One thing you might want to do is attach the output of 'lspci -v' and 'dmesg'.



Please the attachements, both outputs compresses with 'gzip'.
One strange thing is, my CD/DVD drive is also attached to the same SCSI
controller and it works perfectly as I boot the live system from there.

Kind Regards,
Thomas



The kernel looks like it's finding your SCSI Controller(s), and it's finding a Hard Disk and a CD Rom on the controller. But, there seems to be a problem with the hard disk:

SCSI subsystem initialized
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 15
PCI: setting IRQ 15 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKB] -> GSI 15 (level, low) -> IRQ 15 ahc_pci:0:13:0: Host Adapter Bios disabled. Using default SCSI device parameters
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2902/04/10/15/20C/30C SCSI adapter>
        aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [LNKB] -> GSI 15 (level, low) -> IRQ 15
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
  Vendor: IBM       Model: DDYS-T18350N      Rev: S96H
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi1:A:0:0: Tagged Queuing enabled.  Depth 8
 target1:0:0: Beginning Domain Validation
 target1:0:0: wide asynchronous
 target1:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 63)
 target1:0:0: Ending Domain Validation

SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write back
SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write back
***********************************************
**>>>>> sda: unknown partition table <<<<<<<<**
***********************************************
sd 1:0:0:0: Attached scsi disk sda
sr0: scsi3-mmc drive: 16x/40x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:2:0: Attached scsi CD-ROM sr0
sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 1:0:3:0: Attached scsi CD-ROM sr1
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A

--
Mark Paulus
2424 Garden of the Gods Rd  | Phone:  v622-5578 / 719-535-5578
0419/117 - LEC Access ; D5-1010   | FAX:    719-535-1665
Colo Springs, CO  80919    | 1800PageMCI / 1406052
AIM : mgpaulus1    /  sametime : mark.paulus

begin:vcard
fn:Mark Paulus
n:Paulus;Mark
org:MCI;Lec Interfaces / 40419
adr;dom:;;2424 Garden of the Gods Rd;Colorado Springs;CO;80919
email;internet:mark.paulus@verizonbusiness.com
title:Mark Paulus
tel;work:719-535-5578
tel;pager:800-pagemci / 1406052
tel;home:v622-5578
version:2.1
end:vcard


Reply to: