Date: Sat, 10 Jul 1999 03:39:54 +0300 (EEST) From: Miltiadis Margaronis <miltux@titika.miltux.gr> To: freebsd-questions@FreeBSD.ORG Subject: I have a little problem Message-ID: <Pine.BSF.4.05.9907100252370.98754-500000@titika.miltux.gr>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I have a problem with my disks.
Here's the story:
I recently installed (via FTP) FreeBSD 3.2 on my second IDE hard disk.
Unfortunately, i made a mistake when i was making partitions, and as a
result, my primary HD (all of it) is marked as a active extended DOS
partition. It has the boot manager needed to load FreeBSD.
Since then, when i try to even access the disk, the kernel panics, i get a
"general protection fault" and the system reboots. This is caused by
commands like sysinstall, fdisk, boot0cfg, mount, dd etc.
I tried to boot from a windows diskette in order to format it,
but that didn't work. I tried changing the sequence of disks (i.e. the
FreeBSD disk as Primary master and the second as primary slave, the
FreeBSD disk as primary master and the second as secondary slave... I
tried another dozen combinations, including no HDs at all etc) but it
didn't work.
I tried changing the boot sequence, but it also didn't work.
I tried booting from a PartitionMagic floppy, no luck either.
I tried to boot from a bootable windows CD, but nothing happened.
The only way to load something other than FreeBSD is not to have the disk
connected to my system, but then i can't format it...
Does anyone have a solution how can I format my disk?
I have included my loader.conf and rc.conf scripts as well as my kernel
configuration file.
Thanks
[-- Attachment #2 --]
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.143.2.12 1999/05/14 15:12:26 jkh Exp $
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
#cpu "I686_CPU"
ident MILTUX
maxusers 32
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
options UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options "IPFIREWALL_VERBOSE_LIMIT=100"
options __SGNXPRO__
config kernel root on wd1
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options NCPU=2 # number of CPUs
#options NBUS=4 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
controller isa0
controller pnp0
controller eisa0
controller pci0
controller snd0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device acd0 #IDE CD-ROM
device wfd0 #IDE Floppy (e.g. LS-120)
# SoundBlaster-compatible card support
device sb0 at isa? port 0x220 irq 5 drq 1 conflicts
device sbxvi0 at isa? drq 3
device sbmidi0 at isa? port 0x330
device opl0 at isa? port 0x388
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller ncr0
#controller ahb0
#controller ahc0
#controller isp0
# This controller offers a number of configuration options, too many to
# document here - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
#controller dpt0
#controller adv0 at isa? port ? cam irq ?
#controller adw0
#controller bt0 at isa? port ? cam irq ?
#controller aha0 at isa? port ? cam irq ?
#controller scbus0
#device da0
#device sa0
#device pass0
#device cd0 #Only need one of these, the code dynamically grows
#device wt0 at isa? port 0x300 bio irq 5 drq 1
#device mcd0 at isa? port 0x300 bio irq 10
#controller matcd0 at isa? port 0x230 bio
#device scd0 at isa? port 0x230 bio
# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller atkbdc0 at isa? port IO_KBD tty
device atkbd0 at isa? tty irq 1
device psm0 at isa? tty irq 12
device vga0 at isa? port ? conflicts
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? tty
options XSERVER # support for X server
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
device npx0 at isa? port IO_NPX irq 13
#
# Laptop support (see LINT for more options)
#
device apm0 at isa? disable flags 0x31 # Advanced Power Management
# PCCARD (PCMCIA) support
#controller card0
#device pcic0 at card?
#device pcic1 at card?
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
device sio1 at isa? port "IO_COM2" tty irq 3
device sio2 at isa? disable port "IO_COM3" tty irq 5
device sio3 at isa? disable port "IO_COM4" tty irq 9
# Parallel port
device ppc0 at isa? port? flags 0x40 net irq 7
controller ppbus0
device lpt0 at ppbus?
device plip0 at ppbus?
device ppi0 at ppbus?
#controller vpo0 at ppbus? #IOMEGA Zip Drive. Requires scbus & da
#
# The following Ethernet NICs are all PCI devices.
#
#device ax0 # ASIX AX88140A
#device de0 # DEC/Intel DC21x4x (``Tulip'')
#device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
#device mx0 # Macronix 98713/98715/98725 (``PMAC'')
#device pn0 # Lite-On 82c168/82c169 (``PNIC'')
#device rl0 # RealTek 8129/8139
#device tl0 # Texas Instruments ThunderLAN
#device tx0 # SMC 9432TX (83c170 ``EPIC'')
#device vr0 # VIA Rhine, Rhine II
#device vx0 # 3Com 3c590, 3c595 (``Vortex'')
#device wb0 # Winbond W89C840F
#device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? port 0x300 net irq 9 iomem 0xd8000
#device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
#device ep0 at isa? port 0x300 net irq 10
#device ex0 at isa? port? net irq?
#device fe0 at isa? port 0x300 net irq ?
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
#device lnc0 at isa? port 0x280 net irq 10 drq 0
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device cs0 at isa? port 0x300 net irq ?
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
pseudo-device speaker
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# This provides support for System V shared memory and message queues.
#
options SYSVSHM
options SYSVMSG
options SYSVSEM
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
# aware of the legal and administrative consequences of enabling this
# option. The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device bpfilter 4 #Berkeley packet filter
[-- Attachment #3 --]
di ed0
di wdc1
en ed0
po ed0 0x300
ir ed0 9
iom ed0 0xd8000
f ed0 0
en wdc0
po wdc0 0x1f0
ir wdc0 14
f wdc0 0
en wdc1
po wdc1 0x170
ir wdc1 15
f wdc1 0
q
[-- Attachment #4 --]
# -- sysinstall generated deltas -- #
userconfig_script_load="YES"
cd9660_load="YES"
ccd_load="YES"
ipfw_load="YES"
[-- Attachment #5 --]
Jul 9 01:37:52 miltux /kernel: ed0: address 00:00:e8:75:45:ed, type NE2000 (16 bit)
Jul 9 01:37:52 miltux /kernel: atkbdc0 at 0x60-0x6f on motherboard
Jul 9 01:37:52 miltux /kernel: atkbd0 irq 1 on isa
Jul 9 01:37:52 miltux /kernel: psm0 not found
Jul 9 01:37:52 miltux /kernel: sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
Jul 9 01:37:52 miltux /kernel: sio0: type 16550A
Jul 9 01:37:52 miltux /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Jul 9 01:37:52 miltux /kernel: sio1: type 16550A
Jul 9 01:37:52 miltux /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Jul 9 01:37:52 miltux /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jul 9 01:37:52 miltux /kernel: fd0: 1.44MB 3.5in
Jul 9 01:37:52 miltux /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Jul 9 01:37:52 miltux /kernel: wdc0: unit 0 (wd0): <QUANTUM FIREBALL SE2.1A>
Jul 9 01:37:52 miltux /kernel: wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
Jul 9 01:37:52 miltux /kernel: wdc0: unit 1 (wd1): <QUANTUM FIREBALL EX6.4A>
Jul 9 01:37:52 miltux /kernel: wd1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
Jul 9 01:37:52 miltux /kernel: wdc1 at 0x170-0x177 irq 15 on isa
Jul 9 01:37:52 miltux /kernel: wdc1: unit 0 (atapi): <MATSHITA CR-585/ZS18>, removable, accel, dma, iordis
Jul 9 01:37:52 miltux /kernel: acd0: drive speed 4125KB/sec, 128KB cache
Jul 9 01:37:52 miltux /kernel: acd0: supported read types: CD-R, CD-RW, CD-DA
Jul 9 01:37:52 miltux /kernel: acd0: Audio: play, 256 volume levels
Jul 9 01:37:52 miltux /kernel: acd0: Mechanism: ejectable tray
Jul 9 01:37:52 miltux /kernel: acd0: Medium: no/blank disc inside, unlocked
Jul 9 01:37:52 miltux /kernel: ppc0 at 0x378 irq 7 flags 0x40 on isa
Jul 9 01:37:52 miltux /kernel: ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
Jul 9 01:37:52 miltux /kernel: lpt0: <generic printer> on ppbus 0
Jul 9 01:37:52 miltux /kernel: lpt0: Interrupt-driven port
Jul 9 01:37:52 miltux /kernel: ppi0: <generic parallel i/o> on ppbus 0
Jul 9 01:37:52 miltux /kernel: plip0: <PLIP network interface> on ppbus 0
Jul 9 01:37:52 miltux /kernel: lpt0: <generic printer> on ppbus 0
Jul 9 01:37:52 miltux /kernel: lpt0: Interrupt-driven port
Jul 9 01:37:52 miltux /kernel: sb0 at 0x220 irq 5 drq 1 on isa
Jul 9 01:37:52 miltux /kernel: Hmm... Could this be an ESS688 based card (rev 11)
Jul 9 01:37:52 miltux /kernel: snd0: <Sound Galaxy NX Pro 3.1>
Jul 9 01:37:52 miltux /kernel: sbxvi0 not found
Jul 9 01:37:52 miltux /kernel: sbmidi0 not found at 0x330
Jul 9 01:37:52 miltux /kernel: opl0 at 0x388 on isa
Jul 9 01:37:52 miltux /kernel: snd0: <Yamaha OPL3 FM>
Jul 9 01:37:52 miltux /kernel: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
Jul 9 01:37:52 miltux /kernel: npx0 on motherboard
Jul 9 01:37:52 miltux /kernel: npx0: INT 16 interface
Jul 9 01:37:52 miltux /kernel: Intel Pentium detected, installing workaround for F00F bug
Jul 9 01:37:52 miltux /kernel: IP packet filtering initialized, divert disabled, rule-based forwarding disabled, logging disabled
Jul 9 01:37:52 miltux /kernel: ccd0-3: Concatenated disk drivers
Jul 9 01:37:52 miltux /kernel: IP packet filtering initialized, divert disabled, rule-based forwarding enabled, logging limited to 100 packets/entry
Jul 9 01:37:52 miltux /kernel: changing root device to wd0s1a
Jul 9 01:37:53 miltux named[114]: starting. named 8.1.2 Tue May 18 03:29:06 GMT 1999 jkh@cathair:/usr/obj/usr/src/usr.sbin/named
Jul 9 01:37:53 miltux named[115]: Ready to answer queries.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907100252370.98754-500000>
