Subject: Missing device nodes
To: None <netbsd-help@netbsd.org>
From: Robin Rawson-Tetley <robin@rawsontetley.org>
List: netbsd-help
Date: 01/30/2006 14:56:39
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi list, hope someone can help me, I have a pretty odd problem.
I recently installed NetBSD 3.0 on my aging Compaq Proliant 1600 server
- everything seems to be working beautifully and I'm extremely pleased
(just get that out of the way first - top job, best OS I've ever used!).
What is strange though is that the box has 2 SCSI controllers, one of
which has the machine's 6 hard disks on. They are all correctly found accor=
ding=20
to the dmesg output:
NetBSD 3.0 (GENERIC.MP) #0: Mon Dec 19 01:19:07 UTC 2005
[SNIP]
esiop0 at pci1 dev 9 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ioapic0 pin 9 (irq 9)
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci1 dev 9 function 1: Symbios Logic 53c875 (ultra-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at ioapic0 pin 10 (irq 10)
scsibus1 at esiop1: 16 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <COMPAQ XM-6402B, , 1723> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using
DMA)
sd0 at scsibus1 target 0 lun 0: <COMPAQ, BB009135B4, B017> disk fixed
sd0: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524
sectors
sd0: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
sd1 at scsibus1 target 1 lun 0: <COMPAQ, BB009135B4, B017> disk fixed
sd1: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524
sectors
sd1: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
sd2 at scsibus1 target 2 lun 0: <COMPAQ, BB009135B4, B017> disk fixed
sd2: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524
sectors
sd2: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
sd3 at scsibus1 target 3 lun 0: <COMPAQ, BB009135B4, B017> disk fixed
sd3: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524
sectors
sd3: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
sd4 at scsibus1 target 4 lun 0: <COMPAQ, BB018135B5, B017> disk fixed
sd4: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080
sectors
sd4: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
sd5 at scsibus1 target 5 lun 0: <COMPAQ, BB018135B5, B017> disk fixed
sd5: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080
sectors
sd5: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
cpu1: CPU 0 running
Notice sd5 in the list there.
With the exception of sd0 (which contains the NetBSD installation), the
other disks are all formatted with one large ext2 partition.
I can happily do disklabel sd1-4 and mount_ext2fs sdXe /diskX to mount
the disks and use them just fine.=20
My problem is that no device nodes are created for sd5 and even if I
try to manually create them with mknod, I get "Device not configured"
when trying to mount.
# ls /dev/sd*
/dev/sd0a /dev/sd0g /dev/sd0m /dev/sd1c /dev/sd1i /dev/sd1o /dev/sd2e
/dev/sd2k /dev/sd3a /dev/sd3g /dev/sd3m /dev/sd4c /dev/sd4i /dev/sd4o
/dev/sd0b /dev/sd0h /dev/sd0n /dev/sd1d /dev/sd1j /dev/sd1p /dev/sd2f
/dev/sd2l /dev/sd3b /dev/sd3h /dev/sd3n /dev/sd4d /dev/sd4j /dev/sd4p
/dev/sd0c /dev/sd0i /dev/sd0o /dev/sd1e /dev/sd1k /dev/sd2a /dev/sd2g
/dev/sd2m /dev/sd3c /dev/sd3i /dev/sd3o /dev/sd4e /dev/sd4k
/dev/sd0d /dev/sd0j /dev/sd0p /dev/sd1f /dev/sd1l /dev/sd2b /dev/sd2h
/dev/sd2n /dev/sd3d /dev/sd3j /dev/sd3p /dev/sd4f /dev/sd4l
/dev/sd0e /dev/sd0k /dev/sd1a /dev/sd1g /dev/sd1m /dev/sd2c /dev/sd2i
/dev/sd2o /dev/sd3e /dev/sd3k /dev/sd4a /dev/sd4g /dev/sd4m
/dev/sd0f /dev/sd0l /dev/sd1b /dev/sd1h /dev/sd1n /dev/sd2d /dev/sd2j
/dev/sd2p /dev/sd3f /dev/sd3l /dev/sd4b /dev/sd4h /dev/sd4n
Since the first 5 disks work perfectly is there some sort of arbitrary
limit on the number of disks per SCSI controller or something?
If I boot from a Linux LiveCD the 6th disk is ok and mountable.
It's not a big deal to me as I can swap it for sd2 (which isn't used
at present anyway) - just thought this was odd enough to report.
Cheers!
Rob
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Robin Rawson-Tetley (robin@rawsontetley.org)
Jabber: bobintetley@jabber.com
Yahoo: bobintetley
MSN: bobintetley
Home: http://www.rawsontetley.org
I prefer encrypted email.
Download my public key from http://www.rawsontetley.org/rrtpk.asc
--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD3ikn3cJg3V5whoURApGDAKDgX9UuKP4WI19Y4Y6GE0ZO9ZDNfQCgob4g
rl6DBUvHomBwqDLOuQKahcY=
=nsAU
-----END PGP SIGNATURE-----
--fUYQa+Pmc3FrFX/N--