NetBSD-Bugs archive

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

Re: install/56326: sysinst expands NetBSD kernel with some garbage symbols at the end of filename



The following reply was made to PR install/56326; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: install/56326: sysinst expands NetBSD kernel with some garbage
	 symbols at the end of filename
Date: Fri, 23 Jul 2021 17:50:21 +0900

 > >Description:
 > Update process using sysinst expands generic NetBSD kernel with some garbage symbols in the filename suffix instead of /netbsd, e.g. /netbsdqysO5l or /netbsdIleNEk on amd64 installation image.>
 
 I saw the similar problem (i.e. an updated new kernel was not stored
 as /netbsd but /netbsdFoo name so the old kernel was loaded after upgrade)
 on upgrading from NetBSD/i386 9.1 to 9.2.
 
 Full dmesg of the machine is here:
  https://dmesgd.nycbug.org/index.cgi?do=view&id=6185
 
 This machine has a traditional MBR partition and also has Windows 10
 partition. NetBSD is installed as wd0a in the last MBR partition.
 
 > wd0 at atabus0 drive 0
 > wd0: <TS1TSSD230S>
 > wd0: drive supports 2-sector PIO transfers, LBA48 addressing
 > wd0: 953 GB, 1984533 cyl, 16 head, 63 sec, 512 bytes/sect x 2000409264 sectors
 > wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
 
 ---
 Partition table:
 0: Dell PowerEdge Server utilities (sysid 222)
     start 8, size 80262 (39 MB, Cyls 0/0/9-4/254/8)
         PBR is not bootable: All bytes are identical (0x00)
 1: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
     bootmenu: Windows
     start 80896, size 17452032 (8522 MB, Cyls 5/9/5-1091/95/28), Active
 2: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
     start 17532928, size 1327511552 (648199 MB, Cyls 1091/95/29-83725/37/24)
 3: NetBSD (sysid 169)
     bootmenu: NetBSD
     start 1345044480, size 655364784 (320002 MB, Cyls 83725/37/25-124519/182/63)
 Bootselector disabled.
 First active partition: 1
 ---
 
 The NetBSD/i386 9.2 installer is the stock NetBSD-9.2-i386-install.img.gz
 written to the following USB 2.0 stick:
 
 > xhci0 at pci0 dev 20 function 0: vendor 8086 product 1e31 (rev. 0x04)
 > xhci0: interrupting at msi0 vec 0
 > xhci0: xHCI version 1.0
 > usb0 at xhci0: USB revision 3.0
 > usb1 at xhci0: USB revision 2.0
  :
 > uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
 > uhub1: 4 ports with 4 removable, self powered
  :
 > umass0 at uhub1 port 1 configuration 1 interface 0
 > umass0: GH (0xa6b) PicoN (0x0f), rev 2.00/1.00, addr 1
 > umass0: using SCSI over Bulk-Only
 > scsibus0 at umass0: 2 targets, 1 lun per target
  :
 > sd0 at scsibus0 target 0 lun 0: <GH, PicoN, PMAP> disk removable
 > sd0: 7398 MB, 1856 cyl, 255 head, 32 sec, 512 bytes/sect x 15151104 sectors
 
 IIRC I choose all default sysinst options (except the first
 "b: Upgrade NetBSD on a hard disk") during installation and
 saw no particular error messages (but not sure).
 
 Note the /dev/wd0a is mounted with option "log".
 (I'm not sure if sysinst checks existing options in fstab(5).)
 
 I have not tried to reproduce it, but I'll try how it goes 
 to upgrade 9.2 to 9.2 again.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index