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

Bug#1004292: debian-installer:s390x: installer fails to format dasd disc on s390x systems



Hi Dipak,

Dipak Zope <dipak.zope1@ibm.com> (2022-01-24):
> On s390x machines with dasd disc, the installer fails to format the dasd 
> disc. 
> 
> Logs: 
> Jan 24 12:25:13 main-menu[341]: INFO: Menu item 's390-dasd' selected
> Jan 24 12:25:19 s390-dasd[3224]: dasdfmt:
> Jan 24 12:25:19 main-menu[341]: WARNING **: Configuring 's390-dasd' failed with error code 1
> Jan 24 12:25:19 main-menu[341]: WARNING **: Menu item 's390-dasd' failed.
> 
> 
> Root cause: 
> The s390-dasd package calls dasdfmt with '-f' option which is obselete
>  long ago. 
> 
> Proposed Fix: 
> s390-dasd / dasd-config.c: line 393:
> Existing line: snprintf (buf, sizeof (buf), "dasdfmt -l LX%04x -b 4096 -m 1 -f %s -y", channel_device (channel_current->name), dev);
> Proposed line: snprintf (buf, sizeof (buf), "dasdfmt -l LX%04x -b 4096 -m 1 %s -y", channel_device (channel_current->name), dev);
> 
> 
> This fix is verified. Logs for reference after changes (with additional
> debug statement): 

Thanks for the proposed fix and the verification. Do you have anything
else s390x/dasd related? Or can we commit this fix, release the package
to unstable and consider backporting it to bullseye?


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: