From owner-freebsd-current Sun Mar 26 08:39:18 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA19864 for current-outgoing; Sun, 26 Mar 1995 08:39:18 -0800 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA19858 for ; Sun, 26 Mar 1995 08:39:11 -0800 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-6) id AA17941; Sun, 26 Mar 95 18:38:44 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id SAA25400 for freebsd-current@freefall.cdrom.com; Sun, 26 Mar 1995 18:44:31 +0200 Date: Sun, 26 Mar 1995 18:44:31 +0200 From: "Christoph P. Kukulies" Message-Id: <199503261644.SAA25400@gilberto.physik.rwth-aachen.de> To: freebsd-current@freefall.cdrom.com Subject: can't mount (slices - sd driver) Sender: current-owner@FreeBSD.org Precedence: bulk With a yesterday's kernel I suddenly cannot mount all partitions due to some changes in the slicing code of the sd driver I think. I saw some commit messages regarding sd.c but at that time I didn't pay attention to it. Now I cannot see e.g. my home partition any longer. dmesg: FreeBSD 2.1.0-Development #0: Sun Mar 26 18:26:08 MET DST 1995 root@jazz:/home/src/sys/compile/JAZZGUS CPU: i486DX (486-class CPU) real memory = 33161216 (8096 pages) avail memory = 30773248 (7513 pages) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x200-0x21f irq 5 on isa ed0: address 00:20:e4:80:6d:61, type NE2000 (16 bit) bpf: ed0 attached sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: (NEC 72065B) [0: fd0: 1.44MB 3.5in] npx0 on motherboard npx0: INT 16 interface gus0 at 0x220 irq 11 drq 1 on isa gus0: Probing for devices on the pci0 bus: configuration mode 2 allows 16 devices. chip0 rev 4 on pci0:0 ncr0 rev 1 int a irq 9 on pci0:1 reg20: virtual=0xf4796000 physical=0xfbfef000 size=0x100 ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 (V2 pl21 95/03/21) ncr0 waiting for scsi devices to settle (ncr0:0:0): "SEAGATE ST31200N 8008" is a type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 1006MB (2061108 512 byte sectors) (ncr0:1:0): "QUANTUM MAVERICK 540S 0901" is a type 0 fixed SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 516MB (1057758 512 byte sectors) chip1 rev 3 on pci0:2 vga0 rev 0 on pci0:6 pci0: uses 256 bytes of memory from fbfef000 upto fbfef0ff. pci0: uses 256 bytes of I/O space from e800 upto e8ff. changing root device to sd0a sd0s1: start 1517568, end = 2060287, size 542720: OK sd0s2: start 411648, end = 901119, size 489472: OK sd0s3: start 901120, end = 1517567, size 616448: OK sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0: start 411648, end 901119, size 489472 sd0d: start 0, end 2061107, size 2061108 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0g: start 901120, end 1517567, size 616448 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0h: start 1517568, end 2060287, size 542720 sd1s1: start 32, end = 501759, size 501728: OK sd1s2: start 501760, end = 749567, size 247808: OK sd1s3: start 749568, end = 817151, size 67584: OK sd0s1: start 1517568, end = 2060287, size 542720: OK sd0s2: start 411648, end = 901119, size 489472: OK sd0s3: start 901120, end = 1517567, size 616448: OK sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0: start 411648, end 901119, size 489472 sd0d: start 0, end 2061107, size 2061108 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0g: start 901120, end 1517567, size 616448 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0h: start 1517568, end 2060287, size 542720 bpf: lo0 attached bpf: sl0 attached bpf: sl1 attached sd0s1: start 1517568, end = 2060287, size 542720: OK sd0s2: start 411648, end = 901119, size 489472: OK sd0s3: start 901120, end = 1517567, size 616448: OK sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0: start 411648, end 901119, size 489472 sd0d: start 0, end 2061107, size 2061108 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0g: start 901120, end 1517567, size 616448 sd0: rejecting partition in BSD label: it isn't entirely within the slice sd0h: start 1517568, end 2060287, size 542720 sd1s1: start 32, end = 501759, size 501728: OK sd1s2: start 501760, end = 749567, size 247808: OK sd1s3: start 749568, end = 817151, size 67584: OK disklabel -r sd0: # /dev/rsd0c: type: SCSI disk: seagate_31200 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 1024 sectors/unit: 2097152 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: 38912 411648 4.2BSD 1024 8192 16 # (Cyl. 201 - 219) b: 92160 450560 swap # (Cyl. 220 - 264) c: 489472 411648 unused 0 0 # (Cyl. 201 - 439) d: 2061108 0 unused 0 0 # (Cyl. 0 - 1006*) e: 358400 542720 4.2BSD 1024 8192 16 # (Cyl. 265 - 439) g: 616448 901120 4.2BSD 1024 8192 16 # (Cyl. 440 - 740) h: 542720 1517568 MSDOS # (Cyl. 741 - 1005) --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #0: Wed Mar 22 04:54:59 1995 root@blues:/usr/src/sys/compile/BLUESGUS i386