The officially official Devuan Forum!

You are not logged in.

#76 Re: Hardware & System Configuration » Long Delayed boot time on ascii » 2019-07-13 19:27:59

/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
#auto lo
#iface lo inet loopback
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
    wireless-essid asd

ip link

erdos@t60:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:15:58:82:f6:94 brd ff:ff:ff:ff:ff:ff
3: irda0: <NOARP> mtu 2048 qdisc noop state DOWN mode DEFAULT group default qlen 8
    link/irda 00:00:00:00 brd ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 00:19:d2:c5:0a:41 brd ff:ff:ff:ff:ff:ff

#77 Hardware & System Configuration » Long Delayed boot time on ascii » 2019-07-13 14:01:59

erdos
Replies: 12

hi, my ascii installation has an unusually long boot time.

it always stuck at two places by looking at onscreen boot log:
1.  configuration network interfaces..ifup: wait for lock on /run/network/ifstate.wlan0
2.  starting MTA

I started the wifi connection by issuing the following command once loggin into icewm WM,

root@t60:/home/erdos# wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
root@t60:/home/erdos# dhclient wlan0

#78 Re: Hardware & System Configuration » Brother laser printer installation on devuan » 2019-07-12 04:39:39

install i386 .deb didn't work for me on the 64-bit ascii.

I ended up downloading the 'Driver Install Tool' available on the Brother website for this printer (hl-2270DW) and followed the instruction to run the script, it automatically pulls in the needed package and installs  the printer.

Driver install Tool is available here:

https://support.brother.com/g/b/downloa … all&os=128

#79 Re: Hardware & System Configuration » Brother laser printer installation on devuan » 2019-07-12 03:44:02

Marjorie wrote:

I'm assuming you've already tried using CUPs with the available drivers provided there?

In my case I use the driver for a slightly different Brother model: I have a DCP 9015CDW and use the DCP 9010CDW dirver which works fine, including duplex.

A cursory search finds there's a discussion of drivers to use for your model here: http://openprinting.org/printer/Brother … -HL-2270DW.

the provided link is empty.

#80 Re: Hardware & System Configuration » Brother laser printer installation on devuan » 2019-07-12 03:41:16

ToxicExMachina wrote:

tried this, still having error:

root@t60:/home/erdos/Downloads# dpkg -i hl2270dwlpr-2.1.0-1.i386.deb
Selecting previously unselected package hl2270dwlpr:i386.
(Reading database ... 75692 files and directories currently installed.)
Preparing to unpack hl2270dwlpr-2.1.0-1.i386.deb ...
Unpacking hl2270dwlpr:i386 (2.1.0-1) ...
dpkg: dependency problems prevent configuration of hl2270dwlpr:i386:
 hl2270dwlpr:i386 depends on libc6 (>= 2.3.4-1).

dpkg: error processing package hl2270dwlpr:i386 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 hl2270dwlpr:i386
[1]+  Done                    synaptic

i installed mentioned missing libc6 for i386, still got the same error

#81 Hardware & System Configuration » Brother laser printer installation on devuan » 2019-07-10 02:54:12

erdos
Replies: 6

i have a brother hl-2270dw laser printer that i want to install the driver downloaded from manufacturer website.  the .deb package I downloaded is 32 bit package and i'm running into difficulty to install onto the 64-bit devuan.

erdos@t60:~/Downloads$ sudo dpkg -i hl2270dwlpr-2.1.0-1.i386.deb
[sudo] password for erdos: 
dpkg: error processing archive hl2270dwlpr-2.1.0-1.i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 hl2270dwlpr-2.1.0-1.i386.deb

any suggestion how to resolve this?

#82 Re: Installation » laptop failed to wake up from suspend mode, boot failure afterwards » 2019-06-25 00:39:42

Head_on_a_Stick wrote:

Yes, run fsck from the USB drive system, the version in Slackware is not compatible.

You should also be able to mount & chroot from the USB system.

Great!  I reinstalled grub bootloader from bootable ascii USB drive onto hdd, now it boots into devuan again!

#83 Re: Installation » laptop failed to wake up from suspend mode, boot failure afterwards » 2019-06-23 21:09:47

PedroReina wrote:
erdos wrote:

it display a bunch of '07 07 07....' on the screen, no grub menu.

Strange enough, its seems a LILO problem to me.

From https://www.linux.org/threads/linux-lin … tup.10146/

L – First stage of the boot loader has finished and has been unable to load the second stage. This usually indicates bad BIOS parameters or bad sectors on the media or even a corruption of the boot loader. The letter is usually followed by an error code as follows:
07 – Invalid initialization – BIOS did not initialize the boot disk

thank you, this is very strange, did ascii corrupt my bootloader somehow?  i had 'pm-suspend'  feature working most of time on my thinkpad with devuan ascii, when it didn't work properly, i had to recycle power.  however this time it results a boot failure.

i ran built-in hdd diagnostic tool in Bios as well as 'badlocks' command from slackware, both reporting no error.

badblocks -v /dev/sda
checking blocks 0 to 78150743
checking for bad blocks(read-only test):
done
pass completed, 0 bad blocks found (0/0/0 errors)

#84 Re: Installation » laptop failed to wake up from suspend mode, boot failure afterwards » 2019-06-23 21:03:40

Head_on_a_Stick wrote:

Which filesystem is Devuan installed on?

Do you have the appropriate filesystem tools package installed in the system from which you are trying to mount the Devuan partition?

Have you tried fsck?

It may be best to boot the Devuan ASCII minimal-live.iso image to ensure compatibility:

https://mirror.leaseweb.com/devuan/devu … imal-live/

devuan ascii was installed on ext4, on partition /dev/sda5, slackware was installed as ext4 on external HDD.

bash-4.2# file -sL /dev/sd*
/dev/sda:  x86 boot sector
/dev/sda1: x86 boot sector
/dev/sda2: x86 boot sector
/dev/sda3: x86 boot sector
/dev/sda4: x86 boot sector
/dev/sda5: Linux rev 1.0 ext4 filesystem data, UUID=0262b140-607c-4a24-b40b-faa1e1cd222b (extents) (64bit) (large files) (huge files)
/dev/sda6: Linux/i386 swap file (new style), version 1 (4K pages), size 323839 pages, no label, UUID=c844573e-30c1-4c64-8e7d-0857e041b5ba
/dev/sda7: Linux rev 1.0 ext4 filesystem data, UUID=244b532e-263c-41ac-b009-28669b7301e3 (extents) (large files) (huge files)

running fsck from slackware (ver. 14.1) results,

bash-4.2# fsck /dev/sda5
fsck from util-linux 2.21.2
e2fsck 1.42.8 (20-Jun-2013)
/dev/sda5 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!

i have ascii installation image on usb drive, will that be of help?

#85 Installation » laptop failed to wake up from suspend mode, boot failure afterwards » 2019-06-23 03:11:13

erdos
Replies: 7

hi, my thinkpad t60 has devuan ascii installed along with windowsXP/freebsd. recently when i opened the lid to wake it from previous sleep state in devuan, it displayed shell instead of returning to X /WM. when i power cycle and reboot it, the machine won't boot, after thinkpad logo appears on the screen, it display a bunch of '07 07 07....' on the screen, no grub menu.

screenshot of boot error screen.
https://1drv.ms/u/s!AgFqxF-g9pqPvxl_RJq … 2?e=WHYDzz

i can get into bios and change settings, i can also boot into slackware linux installed onto an external hdd, and mounted the windows partition and my /home partition on devuan.
however, i can't mount devuan root / partion, receiving error. 

bash-4.2# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9f114bc6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    62929439    31464688+   7  HPFS/NTFS/exFAT
/dev/sda2       106027047   143775701    18874327+  a5  FreeBSD
/dev/sda3       143806320   156295439     6244560    c  W95 FAT32 (LBA)
/dev/sda4        62930942   106027007    21548033    f  W95 Ext'd (LBA)
/dev/sda5        62930944    82460671     9764864   83  Linux
/dev/sda6        82462720    85053439     1295360   82  Linux swap
/dev/sda7        85055488   106027007    10485760   83  Linux

bash-4.2# mount /dev/sda5 /mnt/tmp
mount: wrong fs type, bad option, bad superblock on /dev/sda5,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

bash-4.2# mount /dev/sda7 /mnt/tmp

any advice?

laptop specs:
Lenovo Thinkpad T60 1.83Ghz/2G RAM/80G HDD
WinXP/freebsd/Debian8 triple boot

#86 Re: Installation » Ascii upgrade messed up the devuan jessie » 2018-07-21 16:38:17

devuser wrote:
erdos wrote:

system is in read-only mode after attempted ascii upgrade.

As in your disks are mounted read only? That seems to be more of a disk problem. What does your partition layout and filesystems look like?

output of 'fdisk -l', partition sda5~7 are Linux partitions, I've a multi-boot system.

root@(none):~# fdisk -l 
Device   BOOT   START   End Sectors Size ID  Type
/dev/sda1   *              63      62929439   62929377   30G  7   HPFS/NTFS/exFAT
/dev/sda2         106027047    143775701    37748655   18G  a5   FreeBSD
/dev/sda3         143806320    156295439    12489120     6G   c   W95 FAT32 (LBA)
/dev/sda4          62930942      106027007   430960666   20.6G   f   W95  Ext'd (LBA)
/dev/sda5           62930944      82460671    19529728      9.3G    83 Linux
/dev/sda6            82462720      85053439    2590720       1.2G    82 Linux swap / Solaris
/dev/sda7            85055488      106027007    20971520    10G     83   Linux

output of /etc/fstab:

UUID= ' -------'  /   ext4   errors=remount -ro 0  1
UUID= ' -------'  /home  ext4  defaults  0  2
UUID= ' -------'  none  swap   sw 0 0
/dev/sr0    /media/cdrom0  udf,iso9660  user, noauto  0  0

#87 Re: Installation » Ascii upgrade messed up the devuan jessie » 2018-06-27 19:42:46

msi wrote:

Ok, I see. First, I'd try setting sources.list back to Jessie and then run apt-get update and apt-get upgrade. If that goes well, I'd reboot and see how that goes.

Btw, it's a good idea to use code tags when posting config files. That makes it more readable.

The issue remains unresolved because the wifi is not working and system is in read-only mode after attempted ascii upgrade.

#88 Re: Installation » Ascii upgrade messed up the devuan jessie » 2018-06-04 18:42:10

msi wrote:

With that kind of error messages occuring, apt-get should refuse to perform any dist-upgrade, which it seemingly did in your case. So, unless you did not "try using -f" or anything else in that direction and also changed back your sources.list to Jessie and ran apt-get update after that, your system should  actually be fine. So, did you try any other commands to make the upgrade happen or forget to revert your apt sources to Jessie?

What does /etc/apt/sources.list look like on that system?

I can only boot into command line, and wifi isn't working.  the system is in read only mode and home directory isn't mounted. 
i have run '-f' but it returns error since system is locked in read-only mode.

#89 Re: Installation » Ascii upgrade messed up the devuan jessie » 2018-06-04 18:36:19

/etc/apt/sources.list:

# deb  jessie main

#deb [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie main contrib non-free
#deb-src [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie main contrib non-free

#deb [url]http://security.debian.org/[/url] jessie/updates main
#deb-src [url]http://security.debian.org/[/url] jessie/updates main

# jessie-updates, previously known as 'volatile'
#deb [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie-updates main contrib non-free
#deb-src [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie-updates main contrib non-free

#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie          main
#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie-updates  main
#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie-security main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-updates main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-security main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-backports main

#90 Installation » Ascii upgrade messed up the devuan jessie » 2018-06-04 17:30:43

erdos
Replies: 12

hi, newbie here.

i've run into this error when i tried to upgrade from devuan jessice to ascii a couple months ago (March 24th):

root@debian:/home/erdos# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. 
The following packages have unmet dependencies: 
initscripts : Depends: sysv-rc or file-rc but it is not installable libncurses5 
: Depends: libtinfo5 (= 5.9+20140913-1+b1) but 6.0+20161126-1+deb9u1 is installed sysvinit-core 
: Depends: sysv-rc or file-rc but it is not installable sysvinit-utils 
: Depends: init-system-helpers (>= 1.25~) but 1.24+devuan1.0 is installed E: Unmet dependencies. Try using -f.

after reboot the system, i can only log into command line, but my home directory is not mounted, wifi is not working.

my laptop is thinkpad t60 with wifi built in.

this seems to be some init messed up when ascii is still in testing, now that ASCII has been released.  is there a way to recover the system without reinstallation?

Board footer

Forum Software