Date: Wed, 22 Apr 1998 11:09:03 +0200 (CEST) From: Andrzej Bialecki <abial@nask.pl> To: Julian Elischer <julian@whistle.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Ouch... (DEVFS) Message-ID: <Pine.NEB.3.95.980422110728.10419A-400000@korin.warman.org.pl> In-Reply-To: <353D8E29.20431CA7@whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, 21 Apr 1998, Julian Elischer wrote:
> Andrzej Bialecki wrote:
> > 2. On another machine, with one SCSI disk on AHA2940, with one big slice
> > (but in non-dedicated mode), the mountroot tries:
> >
> > sd0s1a
> > sd0s2a
> > sd0s3a
> > sd0s4a
> what does the rest of the dmesg say?
> (when it's looking for slices)
> and what does fdisk and disklable say about the drive in question?
> this one should be quite easy to fix.
Ok. I attach the output of disklabel, dmesg and fdisk.
Andrzej Bialecki
--------------------+---------------------------------------------------------
abial@nask.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") }
Research & Academic | "Be open-minded, but don't let your brains to fall out."
Network in Poland | All of the above (and more) is just my personal opinion.
--------------------+---------------------------------------------------------
[-- Attachment #2 --]
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=391 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=391 heads=255 sectors/track=63 (16065 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 63, size 6281352 (3067 Meg), flag 80 (active)
beg: cyl 0/ sector 1/ head 1;
end: cyl 390/ sector 63/ head 254
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
[-- Attachment #3 --]
dosdev= 80, biosdrive = 0, unit = 0, maj = 0
Booting 0:sd(0,a)/kernel @ 0x100000
text=0xfa000 data=0x11000 bss=0x1d760 symbols=[+0x8a0+0x4+0x12900+0x4+0x1a69e]
total=0x255fa6 entry point=0x100000
avail memory = 62984192 (61508K bytes)
Found BIOS32 Service Directory header at 0xf00faf50
Entry = 0xfb3f0 (0xf00fb3f0) Rev = 0 Len = 1
PCI BIOS entry at 0xb420
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000fc0d0
DEVFS: ready for devices
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12508086)
Probing for devices on PCI bus 0:
found-> vendor=0x8086, dev=0x1250, revid=0x02
class=06-00-00, hdrtype=0x00, mfdev=0
chip0: <Intel 82439> rev 0x02 on pci0.0.0
found-> vendor=0x8086, dev=0x7000, revid=0x01
class=06-01-00, hdrtype=0x00, mfdev=1
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
Extended BIOS: enabled
Lower BIOS: disabled
Coprocessor IRQ13: enabled
Mouse IRQ12: disabled
Interrupt Routing: A: IRQ11, B: IRQ10, C: IRQ9, D: disabled
MB0: , MB1:
found-> vendor=0x8086, dev=0x7010, revid=0x00
class=01-01-80, hdrtype=0x00, mfdev=0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: primary master fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 0 status: 04 from port: 00009002
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000900a
found-> vendor=0x1011, dev=0x0014, revid=0x11
class=02-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=9
map[0]: type 4, range 32, base 00006000, size 7
map[1]: type 1, range 32, base e4000000, size 7
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 9 on pci0.18.0
de0: SMC 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:32:6f:e9
bpf: de0 attached
found-> vendor=0x5333, dev=0x5631, revid=0x06
class=03-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=10
map[0]: type 1, range 32, base e0000000, size 26
vga0: <S3 ViRGE graphics accelerator> rev 0x06 int a irq 10 on pci0.19.0
found-> vendor=0x9004, dev=0x6178, revid=0x01
class=01-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=11
map[0]: type 4, range 32, base 00006100, size 8
map[1]: type 1, range 32, base e4001000, size 12
Initializing PnP override table
Probing for PnP devices:
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
No Plug-n-Play devices were found
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0065
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 flags 0x30 on isa
sio0: type 16550A, console
sio1 not found at 0x2f8
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-5602B/1656>, removable, intr, dma, iordy
wcd0: 1377Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 80mm data disc loaded, unlocked
ep0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 173943294 bytes/sec
bzero() bandwidth = 87842586 bytes/sec
imasks: bio c0088040, tty c0070212, net c0070212
stray irq 7
de0: enabling 10baseT port
BIOS Geometries:
0:0186fe3f 0..390=391 cylinders, 0..254=255 heads, 1..63=63 sectors
0 accounted for
Device configuration finished.
Intel Pentium F00F detected, installing workaround
DEVFS: ready to run
Linux-ELF exec handler installed
bpf: sl0 attached
bpf: lo0 attached
IP packet filtering initialized, divert enabled, unlimited logging
fd0: probing for MBR.. fd0: Operation timeout
fdc0: input ready timeout
fd0: hard error, block 0 (No status)
failure reading device block
nope
fd0: probing for disklabel.. fdc0: output ready timeout
fdc0: cmd e6 failed at out byte 1 of 9
fdc0: input ready timeout
fd0: hard error, block 0 (No status)
failure reading device block
nope
Considering FFS root f/s.
WOULD SELECT /sd0a but it doesn't exist
/sd0s1a didn't work
/sd0s2a didn't work
/sd0s3a didn't work
/sd0s4a didn't work
panic: can't mount root
syncing disks... done
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
[-- Attachment #4 --]
# /dev/sd0s1:
type: SCSI
disk: sd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 390
sectors/unit: 6281352
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]
a: 65536 0 4.2BSD 0 0 0 # (Cyl. 0 - 4*)
b: 282624 65536 swap # (Cyl. 4*- 21*)
c: 6281352 0 unused 0 0 # (Cyl. 0 - 390*)
e: 61440 348160 4.2BSD 0 0 0 # (Cyl. 21*- 25*)
f: 5871752 409600 4.2BSD 0 0 0 # (Cyl. 25*- 390*)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.980422110728.10419A-400000>
