Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Nov 2004 22:10:34 +0000
From:      Jeremy Faulkner <gldisater@gldis.ca>
To:        Lloyd Hayes <lloyd545220-trucker@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: External Hard drive
Message-ID:  <1099347033.1133.50.camel@ocean-deep.gldis.ca>
In-Reply-To: <4186CE6F.8080201@yahoo.com>
References:  <418542C7.1040602@yahoo.com> <20041101094311.GB4930@lb.tenfour> <1099330253.607.10.camel@ocean-deep.gldis.ca> <4186CE6F.8080201@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-5cZLJs0oH2Qx8wOZE67X
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2004-11-02 at 00:01, Lloyd Hayes wrote:
> The information which you requested is at the bottom. dmesg, fstab, and=20
> rc.conf.
> While the 'dmesg' refers to a printer, I haven't hooked one up to this=20
> system yet. I figured that I would deal with one problem at a time. So=20
> far, none of the UNIX type systems has liked much of my equipment, and I=20
> have a lot more to add to it....

The "lpt0: <Printer> on ppbus0" is nothing to worry about, the system
does *not* think you have a printer attached. It thinks you have a
parallel port and created the associated printer port (in software).

=20
>  But I attribute that to my own lack of=20
> knowledge on UNIX type systems, and on networking in general.

<snip>

> FreeBSD seems to be very difficult for me to learn, but I also think=20
> that it may be the way to go, too.

The FreeBSD Handbook should be able to help with that.


> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq=20
> 10 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2
> uhub1: 4 ports with 4 removable, bus powered

<snip>

> ohci0: <NEC uPD 9210 USB controller> mem 0x88002000-0x88002fff irq 10 at=20
> device 0.0 on cardbus1
> usb1: OHCI version 1.0
> GEOM: create disk ad0 dp=3D0xc2a55360
> ad0: 6194MB <TOSHIBA MK6409MAV> [13424/15/63] at ata0-master UDMA33
> acd0: CDROM <UJDA110> at ata1-master PIO4
> usb1: <NEC uPD 9210 USB controller> on ohci0
> usb1: USB revision 1.0
> uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 3 ports with 3 removable, self powered
> Mounting root from ufs:/dev/ad0s1a
> cardbus1: Resource not specified in CIS: id=3D10, size=3D1000
> ohci1: <NEC uPD 9210 USB controller> mem 0x88003000-0x88003fff irq 10 at=20
> device 0.1 on cardbus1
> usb2: OHCI version 1.0
> usb2: <NEC uPD 9210 USB controller> on ohci1
> usb2: USB revision 1.0
> uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> umass0: Buslink USB 2.0 Hard Drive, rev 2.00/11.00, addr 2

Here is your hard drive.

> cardbus1: Resource not specified in CIS: id=3D10, size=3D100
> cardbus1: <serial bus, USB> at device 0.2 (no driver attached)
> GEOM: create disk da0 dp=3D0xc2be6050
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <SAMSUNG SV4002H QP10> Fixed Direct Access SCSI-0 device
> da0: 1.000MB/s transfers
> da0: 38204MB (78242976 512 byte sectors: 255H 63S/T 4870C)

Here is the drive being created and to be accessible as a disk in the
system.

> umass1: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 2

Here is your cdrom.

> GEOM: create disk cd0 dp=3D0xc2ae6600
> cd0 at umass-sim1 bus 1 target 0 lun 0
> cd0: < COMBO-52X16C 1.83> Removable CD-ROM SCSI-0 device
> cd0: 1.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present=20
> - tray closed
>=20

Running usbdevs as root will show exactly what usb devices the system
knows about (that are currently connected). You should expect to see a
lot of usb hubs along with the hard drive and cdrom.

> fstab:
> # Device        Mountpoint    FStype    Options        Dump    Pass#
> /dev/ad0s1b        none        swap    sw        0    0
> /dev/ad0s1a        /        ufs    rw        1    1
> /dev/ad0s1e        /tmp        ufs    rw        2    2
> /dev/ad0s1f        /usr        ufs    rw        2    2
> /dev/ad0s1d        /var        ufs    rw        2    2
> /dev/cd0        /cdrom        cd9660    ro,noauto    0    0
> /dev/acd0        /cdrom1        cd9660    ro,noauto    0    0
> /dev/da0                /usb0           msdos   noauto          0       0

The line for /dev/da0 should have ro,noauto or rw,noauto for the Options
column.

> # This file now contains just the overrides from /etc/defaults/rc.conf.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> svr4_enable=3D"YES"
> linux_enable=3D"YES"
> ibcs2_enable=3D"YES"
> usbd_enable=3D"YES"
> lpd_enable=3D"YES"
> moused_enable=3D"YES"
> named_enable=3D"YES"
> apm_enable=3D"YES"
> exim_enable=3D"YES"
> sendmail_enable=3D"NONE"
> router_flags=3D"-q"
> router=3D"/sbin/routed"
> router_enable=3D"YES"
> rpcbind_enable=3D"YES"
> rpc_statd_enable=3D"YES"
> rpc_lockd_enable=3D"YES"
> sshd_enable=3D"YES"
> rwhod_enable=3D"YES"
> inetd_enable=3D"YES"
> ipv6_enable=3D"YES"
> start_vinum=3D"yes"
> hostname=3D"traveler2.hayes.org"

There are a lot of sysinstall generated comments that you don't need in
your rc.conf file. Also, you have a lot of network server daemons
running and no ip assignment in sight. A look back at your dmesg shows
you don't have any network ports that were found by the system. Then
again, you did say that you were testing the system, so I guess you're
testing the configurations on the loop back device.
--=20
Jeremy Faulkner <gldisater@gldis.ca>

--=-5cZLJs0oH2Qx8wOZE67X
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBhrRZfb0Lle2MIEIRAvQAAKDkseFQqXkz48GRTcx+F1ysniObIQCgno2N
NgfeVyKDPWai3dKDE2bV6Gw=
=LKhm
-----END PGP SIGNATURE-----

--=-5cZLJs0oH2Qx8wOZE67X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1099347033.1133.50.camel>