From owner-freebsd-current Fri Aug 14 07:12:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00705 for freebsd-current-outgoing; Fri, 14 Aug 1998 07:12:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00700 for ; Fri, 14 Aug 1998 07:12:04 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.8.8) with SMTP id KAA02008 for ; Fri, 14 Aug 1998 10:12:20 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Fri, 14 Aug 1998 10:12:20 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: current@FreeBSD.ORG Subject: Funky DEVFS stuff. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 real memory = 100663296 (98304K bytes) avail memory = 94851072 (92628K bytes) DEVFS: ready for devices Probing for devices on PCI bus 0: chip0: rev 0x23 on pci0.0.0 chip1: rev 0x27 on pci0.7.0 ide_pci0: rev 0x06 on pci0.7.1 chip2: rev 0x02 int d irq 11 on pci0.7.2 ahc0: 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: type 0 fixed SCSI 2 sd0: Direct-Access 1812MB (3711990 512 byte sectors) ed3: rev 0x00 int a irq 12 on pci0.9.0 ed3: address 00:00:21:4e:29:c3, type NE2000 (16 bit) vga0: 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): , 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): , 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: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: 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: The data for partition 3 is: The data for partition 4 is: # 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