Date: Fri, 14 Aug 1998 10:12:20 -0500 (EST) From: Alfred Perlstein <bright@hotjobs.com> To: current@FreeBSD.ORG Subject: Funky DEVFS stuff. Message-ID: <Pine.BSF.3.96.980814100152.1993A-100000@bright.fx.genx.net>
next in thread | raw e-mail | index | archive | help
i posted a while back about devfs not being able to find my scsi disk, i'm
posting some info that might be useful.
i think this is a problem because i did some funky stuff when i labled it,
however, mount CAN find the disk in a non-devfs system.
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #8: Sun Aug 9 14:52:17 EST 1998
perlsta@server.local.sunyit.edu:/usr/src/sys/compile/K6233
Timecounter "i8254" frequency 1193182 Hz cost 3794 ns
Timecounter "TSC" frequency 232961751 Hz cost 104 ns
CPU: AMD-K6tm w/ multimedia extensions (232.96-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x562 Stepping=2
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 100663296 (98304K bytes)
avail memory = 94851072 (92628K bytes)
DEVFS: ready for devices
Probing for devices on PCI bus 0:
chip0: <VIA 82C585 (Apollo VP1/VPX) system controller> rev 0x23 on
pci0.0.0
chip1: <VIA 82C586 PCI-ISA bridge> rev 0x27 on pci0.7.0
ide_pci0: <VIA 82C586x (Apollo) Bus-master IDE controller> rev 0x06 on
pci0.7.1
chip2: <VIA 82C586B USB host controller> rev 0x02 int d irq 11 on pci0.7.2
ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x01 int a irq 9 on
pci0.8.0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <SEAGATE ST42100 8224> type 0 fixed SCSI 2
sd0: Direct-Access 1812MB (3711990 512 byte sectors)
ed3: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 12 on
pci0.9.0
ed3: address 00:00:21:4e:29:c3, type NE2000 (16 bit)
vga0: <ATI Mach64-GT graphics accelerator> rev 0x41 on pci0.11.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 flags 0x4 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x4>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 at 0x220 irq 10 drq 3 flags 0x15 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <IBM-DCAA-34330>, DMA, 32-bit, multi-block-16
wd0: 4028MB (8249472 sectors), 8184 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (atapi): <SAMSUNG CD-ROM SCR-2431/1.02>, removable, intr,
dma, iord
y
wcd0: 343/3445Kb/sec, 382Kb cache, audio play, 255 volume levels,
ejectable tray
wcd0: 120mm audio disc loaded, unlocked
npx0 on motherboard
npx0: INT 16 interface
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
DEVFS: ready to run
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled,
logging disabled
sd0: probing for MBR.. nope
sd0: probing for disklabel.. fd0: probing for MBR.. wd0: probing for MBR..
part
1, start=63, size=8249409
wd0s1: attaching disklabel..
part a, start=0, size=96001
part b, start=96001, size=384000
part e, start=480001, size=192000
part f, start=672001, size=3788704
part g, start=4460705, size=3788704
fd0: hard error, block 0 (No status)
WOULD SELECT /wd0a but it doesn't exist
/wd0s1a exists, I'll use that
right here i get prompt for single user mode because it can't find this
entry in fstab now:
/dev/sd0s1c /scsi ufs rw 1 1
------ info from sd0 via disklable and such:
# disklabel -r /dev/rsd0 | less
# /dev/rsd0:
type: SCSI
disk: sd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 231
sectors/unit: 3711990
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 3711990 0 unused 0 0 # (Cyl. 0 -
231*)
------- fdisk ------
# fdisk /dev/rsd0
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=3711990 heads=1 sectors/track=1 (1 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3711990 heads=1 sectors/track=1 (1 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 3711990 (1812 Meg), flag 80 (active)
beg: cyl 0/ sector 1/ head 0;
end: cyl 231/ sector 30/ head 15
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
#
ok, heh :) now what?
i know i musta done something icky for me to be able to mount it normally
but DEVFS not being able to.
thank you,
Alfred Perlstein
--
Programmer @ HotJobs Inc. [- http://www.hotjobs.com/ -]
|-- There are operating systems, and then there's BSD.
\-- http://www.freebsd.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980814100152.1993A-100000>
