NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-alpha/48697: Sysinst compute illegal disk geometry and newfs is bound to fail.



The following reply was made to PR port-alpha/48697; it has been noted by GNATS.

From: "Naruaki.Etomi" <nullnilaki%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-alpha-maintainer%netbsd.org@localhost, martin%duskware.de@localhost
Subject: Re: port-alpha/48697: Sysinst compute illegal disk geometry and newfs
 is bound to fail.
Date: Thu, 3 Apr 2014 03:02:31 +0900

 Dear Martin,
 
 >  Can you please boot into sysinst, then use the Utilities menu to start
 >  a shell and show us the output of
 >
 >     disklabel sd0
 >
 >  ?
 
 ---------------------------------------------------------
 CPU 0 booting
 
 resetting all I/O buses
 (boot dka100.1.0.8.0 -flags A)
 block 0 of dka100.1.0.8.0 is a valid boot block
 reading 19 blocks from dka100.1.0.8.0
 bootstrap code read in
 base = 2be000, image_start = 0, image_bytes = 2600(9728)
 initializing HWRPB at 2000
 initializing page table at 1fff0000
 initializing machine state
 setting affinity to the primary CPU
 jumping to bootstrap code
 
 UNIX boot - Tuesday December 05, 2006
 
 Loading vmunix ...
 Loading at 0xffffffff00000000
 
 Sizes:
 text = 7327808
 data = 1372272
 bss = 1895904
 Starting at 0xffffffff00012ef0
 
 Loading vmunix symbol table ... [1790888 bytes]
 Alpha boot: available memory from 0x1e1e000 to 0x1ffee000
 HP Tru64 UNIX V5.1B (Rev. 2650); Wed Apr 2 02:13:52 JST 2014
 physical memory = 512.00 megabytes.
 available memory = 481.81 megabytes.
 using 1904 buffers containing 14.87 megabytes of memory
 Firmware revision: 7.2-2
 PALcode: UNIX version 1.92-7
 AlphaStation DS15
 pci0 (primary bus:0) at nexus
 isa0 at pci0
 gpc0 at isa0
 gpc1 not probed
 Baud 0 is unsupported; setting console port to 9600 baud
 ace0 at isa0
 ace1 at isa0
 lp0 at isa0
 fdi0 at isa0
 aha_chim0 at pci0 slot 8
 Adaptec AIC-7899 Adapter: H/W Rev 1, Driver Rev 2.284 CHIM V364A9
 scsi0 at aha_chim0 slot 0 rad 0
 aha_chim2 at pci0 slot 108
 Adaptec AIC-7899 Adapter: H/W Rev 1, Driver Rev 2.284 CHIM V364A9
 scsi1 at aha_chim2 slot 0 rad 0
 ee0 at pci0 slot 9
 ee0: COMPAQ Intel 82559ER (10/100 Mbps) Ethernet Interface
 ee0: Driver Rev = V1.0.28, Chip Rev = 9, hardware address: 00-0F-20-2B-E1-24
 ee1 at pci0 slot 10
 ee1: COMPAQ Intel 82559ER (10/100 Mbps) Ethernet Interface
 ee1: Driver Rev = V1.0.28, Chip Rev = 9, hardware address: 00-0F-20-2B-E1-23
 ata0 at pci0 slot 13
 ata0: ACER M1543C
 scsi2 at ata0 slot 0 rad 0
 scsi3 at ata0 slot 1 rad 0
 PCI device at bus 2, slot 10, function 0 could not be configured:
 Vendor ID 0x1274, Device ID 0x1371, Base class 0x4, Sub class 0x1
 Sub-VID 0x1274 Sub-DID 0x1371
 has no matching entry in the PCI option table
 pci2 (primary bus:2) at nexus
 radeon0 at pci2 slot 7
 itpsa0 at pci2 slot 8
 IntraServer ROM Version V2.0 (c)1998
 scsi4 at itpsa0 slot 0 rad 0
 tu0: DECchip 21140: Revision: 2.0
 tu0: auto negotiation capable device
 tu0 at pci2 slot 9
 tu0: DEC TULIP (10/100) Ethernet Interface, hardware address: 00-00-F8-03-DD-A1
 tu0: auto negotiation off: selecting 10BaseT (UTP) port: half duplex
 Created FRU table binary error log packet
 kernel console: ace0
 dli: configured
 NetRAIN configured.
 Random number generator configured.
 ATM Subsystem configured with 1 restart threads
 ATMUNI: configured
 ATMSIG: 3.x (module=uni3x) configured
 ILMI: 3.x (module=ilmi) configured
 ATM IP: configured
 ATM LANE: configured.
 ATM IFMP: configured
 dsfmgr: NOTE: updating kernel basenames for system at /
 scp kevm tty00 tty01 lp0 random urandom dmapi dsk0 cdrom0
 starting LSM in boot mode
 dsfmgr: NOTE: updating kernel basenames for system at /
 Mounting / (root)
 user_cfg_pt: reconfigured
 root_mounted_rw: reconfigured
 user_cfg_pt: reconfigured
 root_mounted_rw: reconfigured
 user_cfg_pt: reconfigured
 dsfmgr: NOTE: updating kernel basenames for system at /
 starting LSM
 Checking device naming:
 Passed.
 Checking local filesystems
 Mounting local filesystems
 exec: /sbin/mount_advfs -F 0x14000 root_domain#root /
 root_domain#root on / type advfs (rw)
 /proc on /proc type procfs (rw)
 exec: /sbin/mount_advfs -F 0x4000 usr_domain#usr /usr
 usr_domain#usr on /usr type advfs (rw)
 exec: /sbin/mount_advfs -F 0x4000 usr_domain#var /var
 usr_domain#var on /var type advfs (rw)
 Apr 2 02:19:41 esmd: Essential Services Monitor daemon started
 Subsystem hwautoconfig was successfully configured.
 Apr 2 02:19:41 update: started
 
 Checking for Installation Tasks...
 
 Executing Installation Tasks...
 The system is coming up. Please wait...
 Checking for crash dumps
 dump device name: swap01-01, num: 0x5100001, off: 0x0, len: 0xc0000
 Initializing paging space
 Mounting Memory filesystems
 evmstart: Daemon started
 Apr 2 02:19:44 esmd: Started monitoring the EVM daemon
 security configuration set to default (BASE).
 File /etc/sia/matrix.conf updated successfully.
 Successful SIA initialization
 
 /usr/sbin/autopush: Can't push requested modules on STREAM for entry 36
 /usr/sbin/autopush: Device (6,-1) already configured
 Streams autopushes configured
 Initializing random number driver
 CSSM_ModuleLoad: CSSM error 4107
 Configuring network
 hostname: ds15
 Loading LMF licenses
 System error logger started
 binlogd: failed to initialize remote logging. Please make sure the
 network is set up properly and then restart binlogd.
 Binary error logger started
 Setting kernel timezone variable
 ONC portmap service started
 NFS IO service started
 Mounting NFS filesystems
 Preserving editor files
 Clearing temporary files
 Unlocking ptys
 Secure Shell daemon (sshd2) started.
 SMTP Mail Service started.
 Environmental Monitoring Subsystem Configured.
 Using snmp service entry port 161.
 Can't get a local IP address.
 Extensible SNMP master agent started
 Base O/S subagent started
 Server System subagent started
 Server Management subagent started
 CIM SNMP subagent started
 Performance Management subagent started
 Loading I18N tty kernel modules ... done
 Web Based Management Agent started
 ConfigReport Management Module started
 Sysman Management Module started
 Threshold Management Subagent started
 Intelligent Drive Array Subagent started
 The SNMP trap to Event Manager interface is disabled.
 Environmental Monitoring Daemon started.
 GS Platform View and Discovery V1.3 for Insight Manager is only
 supported on Alpha GS series platforms.
 AdvFS daemon (advfsd) started.
 Internet services provided.
 Cron service started
 SuperLAT. Copyright 1994 Meridian Technology Corp. All rights reserved.
 LAT started.
 LSM volwatch Service started - mail only
 Printer service started
 Configuring utx device
 utxd daemon started
 SysMan authentication server (smauthd) started
 SysMan Station server (smsd) started
 The system is ready.
 
 
 
 HP Tru64 UNIX V5.1B (Rev. 2650) (ds15) console
 
 login: root
 Password:
 Can't find an OSF-BASE, UNIX-WORKSTATION, or UNIX-SERVER license PAK
 Last login: Wed Apr 2 02:16:57 JST 2014 on console
 HP Tru64 UNIX V5.1B (Rev. 2650); Wed Apr 2 02:13:52 JST 2014
 Tru64 UNIX Japanese Support V5.1B (rev. 232)
 
 NHD Rev(V7.0) installed
 The installation software has successfully installed your system.
 
 There are logfiles that contain a record of your installation. These are:
 
 /var/adm/smlogs/install.cdf - configuration description file
 /var/adm/smlogs/install.log - general log file
 /var/adm/smlogs/install.FS.log - file system creation logs
 /var/adm/smlogs/setld.log - log for the setld(8) utility
 /var/adm/smlogs/fverify.log - verification log file
 
 
 # disklabel dsk0
 # /dev/rdisk/dsk0c:
 type: SCSI
 disk: MAU3073NC
 label:
 flags: dynamic_geometry
 bytes/sector: 512
 sectors/track: 863
 tracks/cylinder: 4
 sectors/cylinder: 3452
 cylinders: 49158
 sectors/unit: 142969680
 rpm: 15000
 interleave: 1
 trackskew: 216
 cylinderskew: 111
 headswitch: 0 # milliseconds
 track-to-track seek: 0 # milliseconds
 drivedata: 0
 
 8 partitions:
 # size offset fstype fsize bsize cpg # ~Cyl values
 a: 786432 0 AdvFS # 0 - 227*
 b: 786432 786432 LSMnoprv # 227*- 455*
 c: 142969680 0 unused 0 0 # 0 - 41416*
 d: 4096 1572864 LSMsimp # 455*- 456*
 e: 70696360 1576960 unused 0 0 # 456*- 20936*
 f: 70696360 72273320 unused 0 0 # 20936*- 41416*
 g: 4300800 1576960 LSMnoprv # 456*- 1702*
 h: 137091920 5877760 unused 0 0 # 1702*- 41416*
 # shutdown -h now
 Shutdown at 02:21 (in 0 minutes) [pid 1207]
 #
 
 
 *** FINAL System shutdown message from root@ds15 ***
 
 System going down IMMEDIATELY
 ...
 
 
 System shutdown time has arrived
 syncing disks... done
 CPU 0: Halting... (transferring to monitor)
 
 
 halted CPU 0
 
 halt code = 5
 HALT instruction executed
 PC = ffffffff0048b3f0
 resetting all I/O buses
 >>>boot dqa0
 (boot dqa0.0.0.13.0 -flags A)
 block 0 of dqa0.0.0.13.0 is a valid boot block
 reading 13 blocks from dqa0.0.0.13.0
 bootstrap code read in
 base = 2be000, image_start = 0, image_bytes = 1a00(6656)
 initializing HWRPB at 2000
 initializing page table at 1fff0000
 initializing machine state
 setting affinity to the primary CPU
 jumping to bootstrap code
 
 NetBSD/alpha 6.99.38 ISO 9660 Primary Bootstrap
 Jumping to entry point...
 
 NetBSD/alpha 6.99.38 Secondary Bootstrap, Revision 1.13 (Sat Mar 29
 04:53:20 UTC 2014)
 
 VMS PAL rev: 0x1000700010162
 OSF PAL rev: 0x100070002015c
 Switch to OSF PAL code succeeded.
 
 Boot flags: A
 10623872+205920=0xa54628
 
 Entering netbsd at 0xfffffc0000431220...
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
 The NetBSD Foundation, Inc. All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
 
 NetBSD 6.99.38 (INSTALL) #0: Sat Mar 29 05:13:07 UTC 2014
 naruaki@:/usr/obj.alpha/sys/arch/alpha/compile/INSTALL
 AlphaStation DS15, 1000MHz, s/n AY42501857
 8192 byte page size, 1 processor.
 total memory = 512 MB
 (2880 KB reserved for PROM, 509 MB used by NetBSD)
 avail memory = 491 MB
 mainbus0 (root)
 cpu0 at mainbus0: ID 0 (primary), 21264C-6
 cpu0: Architecture extensions: 0x1307<PAT,MVI,CIX,FIX,BWX>
 tsc0 at mainbus0: 21274 Core Logic Chipset, Cchip rev 0
 tsc0: 2 Dchips, 1 memory bus of 16 bytes
 tsc0: arrays present: 512MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
 tsp0 at tsc0
 tsp0: window 2: 0/base 3ff00000/mask 1f00000 reinitialized
 tsp0: window 3: 2/base fff00000/mask 2000000 reinitialized
 pci0 at tsp0 bus 0
 sio0 at pci0 dev 7 function 0: vendor 0x10b9 product 0x1533 (rev. 0xc3)
 ahc0 at pci0 dev 8 function 0: Adaptec aic7899 Ultra160 SCSI adapter
 ahc0: interrupting at dec 6600 irq 13
 ahc0: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
 scsibus0 at ahc0: 16 targets, 8 luns per target
 ahc1 at pci0 dev 8 function 1: Adaptec aic7899 Ultra160 SCSI adapter
 ahc1: interrupting at dec 6600 irq 12
 ahc1: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
 scsibus1 at ahc1: 16 targets, 8 luns per target
 fxp0 at pci0 dev 9 function 0: Intel i82559ER Ethernet (rev. 0x09)
 fxp0: interrupting at dec 6600 irq 28
 fxp0: Ethernet address 00:0f:20:2b:e1:24
 inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1 at pci0 dev 10 function 0: Intel i82559ER Ethernet (rev. 0x09)
 fxp1: interrupting at dec 6600 irq 4
 fxp1: Ethernet address 00:0f:20:2b:e1:23
 inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 aceride0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE
 Controller (rev. 0xc1)
 aceride0: primary channel interrupting at isa irq 14
 atabus0 at aceride0 channel 0
 aceride0: secondary channel interrupting at isa irq 15
 atabus1 at aceride0 channel 1
 isa0 at sio0
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com0: console
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 pckbc0 at isa0 port 0x60-0x64
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
 tsp1 at tsc0
 tsp2: window 2: 0/base 3ff00000/mask 2400000 reinitialized
 tsp2: window 3: 2/base fff00000/mask 2800000 reinitialized
 pci1 at tsp1 bus 0
 vga0 at pci1 dev 7 function 0: vendor 0x1002 product 0x5157 (rev. 0x00)
 wsdisplay0 at vga0 (kbdmux ignored)
 drm at vga0 not configured
 siop0 at pci1 dev 8 function 0: Symbios Logic 53c895 (ultra2-wide scsi)
 siop0: using on-board RAM
 siop0: interrupting at dec 6600 irq 36
 scsibus2 at siop0: 16 targets, 8 luns per target
 tlp0 at pci1 dev 9 function 0: DECchip 21140A Ethernet, pass 2.0
 tlp0: interrupting at dec 6600 irq 24
 tlp0: DEC DE500-AA, Ethernet address 00:00:f8:03:dd:a1
 nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 0
 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 vendor 0x1274 product 0x1371 (audio multimedia, revision 0x09) at pci1
 dev 10 function 0 not configured
 tsciic at tsc0
 not configured
 scsibus0: waiting 2 seconds for devices to settle...
 scsibus1: waiting 2 seconds for devices to settle...
 scsibus2: waiting 2 seconds for devices to settle...
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 0: <HL-DT-ST RW/DVD GCC-4480B, , 2.06> cdrom removable
 sd0 at scsibus0 target 1 lun 0: <FUJITSU, MAU3073NC, 2904> disk fixed
 sd0: 69809 MB, 49158 cyl, 4 head, 727 sec, 512 bytes/sect x 142969680 sectors
 sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
 WARNING: can't figure what device matches "IDE 0 13 0 0 0 0 0"
 root on md0a dumps on md0b
 root file system type: ffs
 Terminal type? [vt100]
 erase ^?, werase ^W, kill ^U, intr ^C
 
 
 NetBSD/alpha 6.99.38
 
 This menu-driven tool is designed to help you install NetBSD to a hard disk,
 or upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.
 
 If you booted from a floppy, you may now remove the disk.
 Thank you for using NetBSD!
 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
 x NetBSD-6.99.38 Install System x
 x x
 x a: Install NetBSD to hard disk x
 x b: Upgrade NetBSD on a hard disk x
 x c: Re-install sets or install additional sets x
 x d: Reboot the computer x
 x>e: Utility menu x
 x f: Config menu x
 x x: Exit Install System x
 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
 
 
 NetBSD/alpha 6.99.38
 
 This menu-driven tool is designed to help you install NetBSD to a hard disk,
 or upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.
 
 If you booted from a floppy, you may now remove the disk.
 Thank you for using NetBSD!
 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
 x NetBSD-6.99.38 Utilities x
 x x
 x>a: Run /bin/sh x
 x b: Set timezone x
 x c: Configure network x
 x d: Logging functions x
 x e: Halt the system x
 x x: Back to main menu x
 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
 
 # disklabel sd0
 # /dev/rsd0c:
 type: SCSI
 disk: MAU3073NC
 label:
 flags:
 bytes/sector: 512
 sectors/track: 863
 tracks/cylinder: 4
 sectors/cylinder: 3452
 cylinders: 49158
 total sectors: 142969680
 rpm: 15000
 interleave: 1
 trackskew: 216
 cylinderskew: 111
 headswitch: 0 # microseconds
 track-to-track seek: 0 # microseconds
 drivedata: 0
 
 8 partitions:
 # size offset fstype [fsize bsize cpg/sgs]
 a: 786432 0 FILECORE # (Cyl. 0 - 227*)
 b: 786432 786432 ccd # (Cyl. 227*- 455*)
 c: 142969680 0 unused 0 0 # (Cyl. 0 - 41416*)
 d: 4096 1572864 RAID # (Cyl. 455*- 456*)
 e: 70696360 1576960 unused 0 0 # (Cyl. 456*- 20936*)
 f: 70696360 72273320 unused 0 0 # (Cyl. 20936*- 41416*)
 g: 4300800 1576960 ccd # (Cyl. 456*- 1702*)
 h: 137091920 5877760 unused 0 0 # (Cyl. 1702*- 41416*)
 
 ---------------------------------------------------------
 
 fstype FILECORE:
 The reason is because AdvFS is the same FILECORE FSTYPE number in Tru64 UNIX.
 (If you have a Tru64 UNIX license, please check
 /usr/sys/include/sys/disklabel.h)
 http://nxr.netbsd.org/source/xref/src/sys/sys/disklabel.h#348
 
 >  I suppose the Tru64 installation left something on the disk that we
 >  misinterpret - and sysinst needs to validate and clean that.
 >
 >  If you want a quick workaround: after copying the disklabel output for this
 >  ticket, do something like this to clear the start of your hard disk:
 >
 >    dd if=/dev/zero of=/dev/rsd0c count=200
 >
 >  and reboot. I guess sysinst will work then (but this may fail due to label
 >  sector write protection).
 
 Your idea is very cool.
 Please replacing md_get_info function with "dd if=/dev/zero
 of=/dev/rsd0c count=200".
 
 --
 That's very nice of you!
 nullnilaki%gmail.com@localhost
 


Home | Main Index | Thread Index | Old Index